Link to home
Start Free TrialLog in
Avatar of marvinm
marvinm

asked on

DrawFrameControl() Different background color

I am using DrawFrameControl() to draw a pushbutton.  I would like to make the button a different color than my current background color (gray).  I have tried SetBkColor() and creating a brush and or pen to select into my DC, but the background is always gray!
Thank You
Avatar of nietod
nietod

That is the way DrawFrameContol works.  It gets its colors (and other information too) from the user's current settings.  You will have to draw the control "manually".
ASKER CERTIFIED SOLUTION
Avatar of nietod
nietod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial