Article ID: 103225 - Last Review: February 24, 2005 - Revision: 2.3

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

This article was previously published under Q103225
Expand all | Collapse all

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:
Smallcap.exe (http://download.microsoft.com/download/vb30/sample22/1/w9xnt4/en-us/smallcap.exe)
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  (http://support.microsoft.com/kb/119591/EN-US/ ) 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.

APPLIES TO
  • Microsoft Visual Basic 2.0 Standard Edition
Keywords: 
kbdownload kbfile kbsample KB103225
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations