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
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().  
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".
All Courses

From novice to tech pro — start learning today.