Hello,
I wanted to add icons (+ text) to my popup EVC++ menus. I succeded in owner-drawing on of my popup menus, check the WM_DRAWITEM message and draw my icons. Everything worked and was able to draw icon (and some fixed test) on the DRAWITEMSTRUCT's hDC.
But the problem is that I have more than one popup menu and actually more items and would like to have different icons from there. How can I do this? Do I have to keep infos on items on a different structure/array? How do I know what item is what?
Thanks in advance, this is a great forum.
I wanted to add icons (+ text) to my popup EVC++ menus. I succeded in owner-drawing on of my popup menus, check the WM_DRAWITEM message and draw my icons. Everything worked and was able to draw icon (and some fixed test) on the DRAWITEMSTRUCT's hDC.
But the problem is that I have more than one popup menu and actually more items and would like to have different icons from there. How can I do this? Do I have to keep infos on items on a different structure/array? How do I know what item is what?
Thanks in advance, this is a great forum.