How to set a hook in Visual Basic .NET (319524)
The information in this article applies to:
- Microsoft .NET Framework 2.0
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
- Microsoft Visual Basic 2005
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
This article was previously published under Q319524
For a Microsoft Visual C# version of this article, see 318804.
SUMMARY
This article describes how to set a hook that is specific to a thread and to a hook procedure. This article uses the mouse hook as an example.
You can use hooks to monitor certain types of events. You can associate these events with a specific thread or with all threads that are in the same desktop as a calling thread.REFERENCES
For more information about hooks, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbHOWTOmaster KB319524 kbAudDeveloper |
---|
|