SAMPLE: How to Add New Menu Items to the System Menu (153092)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
This article was previously published under Q153092 SUMMARY Sometimes it is desirable to add a new menu item to a
window's System menu. This can be accomplished by using the AppendMenu API call
and a Windows sub-classing control such as Message Blaster(tm). This article
explains how to implement this action and provides a code sample. In
order to use the Message Blaster control, you can download the sample, free of
charge, from the Microsoft Download Center.
The following file
is 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.
REFERENCES For additional information, please see the following
articles in the Microsoft Knowledge Base: 110498 How to Add Items into Control Menu Box of Visual Basic Form
110104 Using MSGBLAST.VBX Control to Process Windows Messages from VB
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kb16bitonly kbfile kbsample KB153092 |
---|
|