Description
Subclassing & Hooking with Visual Basic offers developers a unique way to customize Windows behavior. Windows is a message-based system. Every action you request creates one or more messages to carry out the action. These messages are passed between objects and carry with them information that gives the recipient more detail on how to interpret and act upon the message. With Subclassing and the Windows hooking mechanism ("hooks"), you can manipulate, modify, or even discard messages bound for other objects within the operating system, in the process changing the way the system behaves. What kinds of results can you achieve using the power of subclassing and hooking? Here are just a few of the possibilities:
Author: Stephen Teilhet
Publisher: O'Reilly Media
Published: 07/24/2001
Pages: 704
Binding Type: Paperback
Weight: 2.22lbs
Size: 9.22h x 7.04w x 1.26d
ISBN13: 9780596001186
ISBN10: 0596001185
BISAC Categories:
- Computers | Languages | Visual BASIC
- Computers | Programming | Microsoft
- Determine when a window is being activated or deactivated and respond to this change. Display descriptions of menu items as the mouse moves across them. Disallow a user to move or resize a window. Determine where the mouse cursor is and respond accordingly. Determine when the display resolution has been changed. Monitor the system for a low system resource condition. Modify or disallow keystrokes sent to a window or a control. Create an automated testing application. Determine when an application is idle.
Author: Stephen Teilhet
Publisher: O'Reilly Media
Published: 07/24/2001
Pages: 704
Binding Type: Paperback
Weight: 2.22lbs
Size: 9.22h x 7.04w x 1.26d
ISBN13: 9780596001186
ISBN10: 0596001185
BISAC Categories:
- Computers | Languages | Visual BASIC
- Computers | Programming | Microsoft
About the Author
Stephen Teilhet earned a degree in electrical engineering but soon afterwards began writing software for the Windows platform. For the last eight years, he has worked for several consulting firms on a wide range of projects, specializing in Visual Basic, Visual C]+, MTS, COM, MSMQ, and SQL Server. Stephen currently works for Compuware Numega Labs in Nashua, New Hampshire, where he is immersed in the Microsoft .NET technologies.