How to Override Paint of Controls / Menu

Sep 3, 2011 at 2:11am
closed account (o1vk4iN6)
I was wondering if there was a way to override the paint message for something like the context menu which is usually at the top of the window. I basically just want to change the color of the background so it can match the style of the rest of my gui.
Sep 3, 2011 at 9:47am
If you just want to change the background color, have a look at SetMenuInfo
http://msdn.microsoft.com/en-us/library/ms647997%28v=vs.85%29.aspx

If you want to make other changes, it is rather more involved.

Andy

P.S. The menu at the top of the window is not a context menu; those are the popup menus that usuually appear near to the mouse pointer when you right click on a window.
Topic archived. No new replies allowed.