There are three places where menus show up in the new MFC functionality (Feature Pack):
- In menu bars (CMFCMenuBar)
- In popup menus (CMFCPopupMenu)
- In the 'dropdown menu' version of CMFCButton
I want to put icons (high-color and with transparancy) in the menus in all of them. I have found CFrameWndEx::OnDrawMenuImage() which I can use to custom draw the icons in front of the menu bar items. It's not very convenient, having to implement icon drawing in 2008, but it works. For the others I haven't found a solution yet. Is there an automagic way to set icons for menus?