Hi,
Can we Treat a popup(Drop down) menu as window?I am actually trying to change the color of the background of the drop down menu.But the usual way is not working.and how about menu bar,how to color it.
That is usually a windows system function. You can change it globally for all windows. Or goto to your own owner draw menus. It seems like to me, if you use 'Search', there are several custom menus on here.
Regards, P1 :8)
If you are looking for a ready at hand solution - look here:
http://www.masmforum.com/simple/index.php?topic=2494.0
Otherwise be ready to set MFT_OWNERDRAW flag for your menus, process WM_MEASUREITEM, WM_DRAWITEM and more...
By the way, menu IS a window. It's class is #32768. You may superclass it.
Regards
MenuWOW,No,Good work though,rather GreatWork.Two thumbs up to you :U :U Actually i got the idea to try doing it from MenuWOW.But i would really like to see the source.
And ya searched around and found a good example.I didnt think its going to be a lot of work doing it.thats why i asked here.