|
-
Jul 8th, 2002, 12:54 AM
#1
Thread Starter
Member
Color the PopUp menu...
I wont to color the popup menu,
is there any way to do this with api or else?
Thanx
-
Jul 8th, 2002, 02:19 AM
#2
Re: Color the PopUp menu...
Originally posted by shaykan
I wont to color the popup menu,
is there any way to do this with api or else?
Thanx
This thread contain some threads which help you
http://209.120.143.185/search.php?s=...ost&sortorder=
Gary
-
Jul 8th, 2002, 02:19 AM
#3
PowerPoster
Well I've seen Menu bars coloured in... why not PopUp Menus...
Have you tried adding the code to colour in the Menu Bars and then had a look at what happens when the popup menu appears?
In theory it could be the same colour as that of the menu.
But... just a theory.
-
Jul 8th, 2002, 06:48 AM
#4
Lively Member
Owner drawn menus.
I capture the menu on WM_INITMENUPOPUP, apply the OD style, and then draw them how I want.
For changing the background color, you just need to modify the routine to use CreateSolidBrush instead of CreatePatternBrush.
Visit EliteVB for slimy subclassing tricks and GDI32 goodness.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|