[Dev-C++] Help with menu icons in Win32
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ed C. <em...@to...> - 2004-05-20 04:22:55
|
Hi, I'm trying to add icons to popup menu items in a Win32 app I'm working on. The menus themselves are not a problem, but I have come up dry after trying - repeatedly - to Google this question. What I need is a method for adding an icon defined in a resource file next to the text in a popup menu, but entirely in C. I was able to find a few solutions in other languages and even a couple in C++; however, I need to keep this app purely in C, and am not sure how to do this. (Note: I am not looking to set monochrome check images, using SetMenuItemBitmaps(), but put an application-specified icon/bitmap with color in the same location) Any help is appreciated! Thanks. -Ed P.S. I'm comfortable with the Win32 API (and would MUCH prefer to use it over the MFC), but simply can't figure out where to start. |