SAMPLE: Processing Nonclient Messages with Msg Blaster ControlLast reviewed: February 15, 1996Article ID: Q103225 |
The information in this article applies to:
Smallcap: Uses Message Blaster Control to Process Nonclient Messages Smallcap is a sample application created by Randall Kern and Jim Cash that accompanies the "Message Blaster: Processing Messages in Visual Basic" technical article on the Microsoft(R) Developer Network CD. The Microsoft Visual Basic(TM) development environment is not based on a message-driven programming model. Instead, Visual Basic supports a predefined set of events for each object (form or control) that you create. An application written in Visual Basic cannot respond to messages from Microsoft Windows(TM) that are not handled directly by a Visual Basic event. The Message Blaster is a Visual Basic control that addresses this restriction by allowing you to catch and process Windows messages from Visual Basic. You can use the Message Blaster control to process any message from Windows except for WM_CREATE and WM_NCCREATE messages. The Smallcap sample application shows how you can process WM_NC* (nonclient) messages to create captions. Smallcap was built and tested under Microsoft Windows version 3.1 and Microsoft Visual Basic version 2.0. Download SMALLCAP.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib SMALLCAP.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |