MSGBLAST.VBX Control Processes Windows Messages from VB

ID: Q110104


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0


SUMMARY

The Message Blaster (MSGBLAST.VBX) file is a Visual Basic custom control that lets you catch and process Windows messages from Visual Basic. You can obtain Message Blaster from the Microsoft Developer Network (MSDN) CD-ROM disk number 5 or 6. On that MSDN CD-ROM disk, see the "Message Blaster: Processing Messages in Visual Basic" technical article.


MORE INFORMATION

Message Blaster: Processing Messages in Visual Basic

The Microsoft Visual Basic development environment is not based on a message-driven programming model, as is Microsoft Windows. In Microsoft Windows, messages control most everything that happens. Visual Basic, on the other hand, 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 that are not handled directly by a Visual Basic event.

The Message Blaster (MSGBLAST.VBX) is a Visual Basic custom control that addresses this restriction by allowing you to catch and process Windows messages (except WM_CREATE and WM_NCCREATE messages) from Visual Basic.

Message Blaster was created for Visual Basic version 2.0 on April 30, 1993, by:
  • Ed Staffin, Microsoft Consulting Services


  • Kyle Marsh, Microsoft Developer Network Technology Group


You can obtain the Message Blaster from Microsoft Developer Network (MSDN) compact disk (CD) number 5 or 6. Run the "MS Development Library CD 6" icon that is installed in the "MS Development Library" folder in Program Manager. Click the Contents button. Double-click "Technical Articles." Double-click "Visual Basic Articles." Double-click the "Message Blaster: Processing Messages in Visual Basic" article. The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:
Msgblast.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center. The sample program EX1 uses the Message Blaster control to process WM_MENUINIT and WM_MENUSELECT messages.

How to Join MSDN

The Microsoft Developer Network (MSDN) provides technical information and development toolkits for all developers who write applications for Microsoft operating systems. MSDN members receive a quarterly CD-ROM disk and a bimonthly newsletter.

To join MSDN:
  • In the U.S. and Canada, call (800) 759-5474, 24 hours a day, 7 days a week.


  • In France, call 05 90 59 04 (toll-free).


  • In Germany, call 0130 81 02 1.


  • In the Netherlands, call 06 022 24 80 (toll-free).


  • In the United Kingdom, call 0800 96 02 79 (toll-free).


  • In Japan, call 03 5461-2617.


  • For any other country in Europe, call +31 10 258 88 64.


  • Outside of Europe, the U.S., Canada, or Japan, call (402) 691-0173.


This MSDN information is taken from the "Microsoft Developer Network News" newsletter dated January 1994. This information is subject to change.

Additional query words:

Keywords : kbfile
Version : WINDOWS:2.0,3.0
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.