Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Icons in a menu 1

Status
Not open for further replies.

apatterno

Programmer
Nov 26, 2002
368
US
Seems like a Simple question, but I can't find this anywhere:

How does one go about adding icons to menu items (as in the Visual Studio and MSOffice UI's)?
 
From MSDN:

"The selected and clear bitmaps should be monochrome."
"If you use color bitmaps, the results may be undesirable."

But I've seen plenty of interfaces where they use color bitmaps! Is this possible?

Thanks in advance
Will
 
They look OK on mine but I don't use the check/uncheck property. The colour changes when they are checked/unchecked.

Alternative sources if you don't want to bother wiith SetMenuItemBitmaps


They basically load the bitmap as a sort of toolbar. There are quite a few articles in CodeGuru - look for "Cool Menu". They go back as far as 1998.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top