Apr 13, 2004 #1 d00ape Programmer Apr 2, 2003 171 SE Any got a tip on how to create a theme for an MFC-dialog project?
Apr 13, 2004 #2 Cagliostro Programmer Sep 13, 2000 4,226 GB I don't know what do you mean, but I believe you can use the internet browser ActiveX component for that. Ion Filipski Upvote 0 Downvote
I don't know what do you mean, but I believe you can use the internet browser ActiveX component for that. Ion Filipski
Apr 13, 2004 #3 PerFnurt Programmer Feb 25, 2003 972 SE MFC is designed to use the regular windwows settings in Desktop->Properties->Appearance. It's not really designed to support application based themes. You can of course override every controls'/dialogs' OnPaint (defined in CWnd) and let them do something wild... To handle themes you'd have to implement a framework that, based on some theme-info, paints in this-or-that way. If you want to go really crazy and use non-rectangular windows its a bit trickier...see SetWindowRgn in MSDN. /Per "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure." Upvote 0 Downvote
MFC is designed to use the regular windwows settings in Desktop->Properties->Appearance. It's not really designed to support application based themes. You can of course override every controls'/dialogs' OnPaint (defined in CWnd) and let them do something wild... To handle themes you'd have to implement a framework that, based on some theme-info, paints in this-or-that way. If you want to go really crazy and use non-rectangular windows its a bit trickier...see SetWindowRgn in MSDN. /Per "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."