SAMPLE: SmallCap.exe - Process Nonclient Msgs w/Msg Blaster Ctrl

ID: Q103225

The information in this article applies to:

SUMMARY

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 MicrosoftDeveloper Network CD.

The Microsoft Visual Basic 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.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ SmallCap.exe (size: 42372 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from
               Online Services

Additional query words: Keywords : kbfile kbsample kbvbp200

Last Reviewed: December 31, 1998