|
|
Title | Make an owner drawn menu using non-standard fonts and items that are bold, underlined, and italic. |
Description | |
Keywords | owner draw menus, custom menus, bold, underline, italic |
Categories | Controls, Software Engineering |
|
|
Thanks to Bi Hai.
Create a new WindowProc and watch for the menu messages. When you see WM_DRAWITEM, draw the menu item. When you see WM_MEASUREITEM, return the size needed by the item. When you see WM_COMMAND, execute whatever code you need for the selected menu item. See the code for all of the details.
|
|
|
|
|
|