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
LVL 1
marvinmAsked:
Who is Participating?
 
nietodConnect With a Mentor Commented:
Note you can use the DrawEdge() function to draw the button's frame and then fill the button's background with whatever color you want using FillRect().  
0
 
nietodCommented:
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".
0
All Courses

From novice to tech pro — start learning today.