I have a handle to a Menu . I can change the text of each menu item by using API
SetMenuItemInfo
Now some of the menu's are in bold. I want to change their font to regular. What is the best way to do that?
I have a handle to a Menu . I can change the text of each menu item by using API
SetMenuItemInfo
Now some of the menu's are in bold. I want to change their font to regular. What is the best way to do that?
Checkout this url:
http://www.xs4all.nl/~rjg70/vbapi/ref/s/setmenuiteminfo.html
Also, the msdn page for this:
http://msdn.microsoft.com/en-us/library/ms648001(VS.85).aspx
You can ask any window to change its font by sending it WM_SETFONT
. (Which may not work for menu's, not sure.)
You can use an owner-drawn menu to have full control over its appearance.
Bold entries in a menu are the default entries (if the menu is not completely ownerdrawn).
You can change this SetMenuDefaultItem().