MFC: ownderdrawn menu, how can I change the default menu border?
-
Hi, I have created my own ownerdrawn menu, subclassed from CMenu, implementing the MeasureItem and DrawItem methods, which works flawlessly so far. However, I would like to change the visual appearance of the complete menu border, i.e. not the border of single menu items, but the whole menu border instead. Is there a good way to achieve this? Which method do I have to reimplement?
-
Hi, I have created my own ownerdrawn menu, subclassed from CMenu, implementing the MeasureItem and DrawItem methods, which works flawlessly so far. However, I would like to change the visual appearance of the complete menu border, i.e. not the border of single menu items, but the whole menu border instead. Is there a good way to achieve this? Which method do I have to reimplement?
There are several good od menus here on CodeProject. I suggest you take a look at them for some clues: Owner Drawn Menu with Icons, Titles and Shading[^] Cool Owner Drawn Menus with Bitmaps - Version 3.03[^]
Best wishes, Hans