Microsoft KB Archive/103225

From BetaArchive Wiki
Knowledge Base


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.

MORE INFORMATION

The following files are available for download from the Microsoft Download Center:

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services


Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Keywords: kbdownload kbfile kbsample KB103225