Free Source Code and Program Tips
How to set the backgroud color of CPropertyPage
How to set the backgroud color of CPropertyPage?
If you override OnCtlColor in your property page, then you can return a different background color and that seems to work with CStatic and other items.
But what if you want is a background that’s not just a simple color? You’d like to be able to draw a background (maybe an watermark-style image) as your property page background and not have CStatic and other controls draw their own background. you would have though the transparent option in the CStatic class would do this when set from the dialog editor, but it doesn’t seem to.
| Print article | This entry was posted by support on October 18, 2007 at 8:18 pm, and is filed under General. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |