SmallCap.exe - Process Nonclient Msgs w/Msg Blaster Ctrl
Article ID: 103225
Article Last Modified on 2/24/2005
APPLIES TO
- Microsoft Visual Basic 2.0 Standard Edition
This article was previously published under Q103225
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.
Keywords: kbdownload kbfile kbsample KB103225