System Menus
How to retrieve system menu items without crashing Windows. Windows 98 introduced bitmaps in its system menus, requiring a slightly different approach to menu data retrieval from code.
About this post
Posted: 2017-08-08
By: BlackBeltVB
Viewed: 317 times
Categories
Attachments
MENUSELS.ZIP
Posted: 8/8/2017 6:33:02 AM
Size: 2,137 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:
- CopyMemory (RtlMoveMemory)
- FindWindow
- GetMenuItemCount
- GetMenuItemInfo
- GetSystemMenu
- GlobalAlloc
- GlobalFree
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.