![]() |
How to set Office2007 theme for dialog controls? |
Post Reply
|
| Author | |
pkhach
Newbie
Joined: 30 October 2007 Location: Ukraine Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: How to set Office2007 theme for dialog controls?Posted: 29 November 2007 at 3:24pm |
|
Hello,
Is it possible to set an Office2007 like theme for dialog controls? I know how to set an Office2007 like caption for a dialog, but how about dialog controls? P.S. I don't want to use Skin Framework for this task. Thanks, KP ***** #define CDialogBase CXTPDialogBase<CXTResizeDialog> class CCurvesDialog : public CDialogBase { ... } BOOL CCurvesDialog::OnInitDialog() { { HICON h = AfxGetApp()->LoadIcon(IDR_MAINFRAME); SetIcon(h, true); SetIcon(h, false); } CXTPPaintManager::SetTheme(xtpThemeOffice2007); ... } |
|
![]() |
|
pkhach
Newbie
Joined: 30 October 2007 Location: Ukraine Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2007 at 1:44am |
|
No chance?
![]() For example for Prof-UIS it is enough to add variables for all controls of dialog like CXTButton, CXTEdit etc and the library will do the rest. KP |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2007 at 2:57am |
|
Hello,
Sorry, common controls don't support Office2007 theme :-(
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |