How to retrieve system menu items without crashing Windows 98
Windows 98 introduced bitmaps in its system menus, requiring a slightly
different approach to menu data retrieval from code.
Uses the following API functions:
- CopyMemory (RtlMoveMemory)
- FindWindow
- GetMenuItemCount
- GetMenuItemInfo
- GetSystemMenu
- GlobalAlloc
- GlobalFree
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.