Menu Status
How to display status messages when menu items are highlighted. Subclasses a form to watch for menu item clicks. Illustrates a bug in GetMenuItemInfo and a method to determine if the top level menu is the current selection.
About this post
Posted: 2017-08-09
By: BlackBeltVB
Viewed: 326 times
Categories
Attachments
MENUSTAT.ZIP
Posted: 8/9/2017 7:09:52 AM
Size: 3,314 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
Uses the following API functions and messages:
- CallWindowProc
- CopyMemory (RtlMoveMemory)
- GetMenu
- GetMenuItemInfo
- GetMenuString
- SetWindowLong
- WM_MENUSELECT
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.