This is my first custom drawn menu. Colors are taken from Visual studio 2005 IDE.
You'll find here how to use gdiplis.dll to load PNG image from resource, how to handle ownerdrawn menu messages (WM_MEASUREITEM and WM_DRAWITEM).
Not all is finished, todos and requirements are listed in OfficeMenu.src.
I dont understand Aurora code but program looks great :)
it is simple for you change the code for EB ?
this sample is fantastic !!!
I have finished it.
If an item is disabled, its bitmap will be grayed. The way you assign image index to menu item has changed - image (by index) is extracted and assigned to menu item as checkmarks.
Please remember to call SetActiveMenu before displaying context menu. It may be automated only if you ensure different menu item id's for context menu and the window menu.
Emergence version can be found here (http://www.ionicwind.com/forums/index.php/topic,2914.0.html)