How To Right Justify the Help Menu Item in Visual Basic (216189)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q216189 SUMMARY
Many applications (especially older, 16-bit programs) have the Help menu item right-justified on the menu bar. That is, "Help" appears all the way to the right instead of the left, grouped with the other top level menu items. The Visual Basic Menu Editor does not supply this functionality, but it is fairly easy to implement this feature with a few WIN32 API calls, as demonstrated in this example.
NOTE: The use of a right-justified Help menu in an application is not the recommended style for creating Windows applications. This article provides this information without recommending its use.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbAPI kbhowto kbMenu KB216189 |
---|
|