How To Build a Windows Message Handler with AddressOf in Visual Basic (170570)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q170570 SUMMARY
This article demonstrates how to build a Windows message handler in Visual Basic. It traps the right-click message and replaces the default context menu with a custom built one.
REFERENCES
If you are not familiar with the use of callbacks, then the following references may help:
"Dan Appleman's Visual Basic Programmer's Guide to the Win32 API" by Dan Appleman
Platform Software Development Kit (SDK) Online Help
(c) Microsoft Corporation 1997, All Rights Reserved.
Contributions by David Sceppa, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbAPI kbhowto KB170570 |
---|
|