CButton or CXTButton's theme display error |
Post Reply |
Author | |
littleameng
Groupie Joined: 22 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
Posted: 22 June 2008 at 2:19am |
I develop the app with MDI frame, Now I have created CChildFrame derived CXTPFrameWndBase<CMDIChildWnd> class, my CChildView is derived CFormView, then I created a CButton control and a CXTButton control, followed code: //the codes in CMainFrame.cpp
XTThemeManager()->SetTheme(xtpThemeOffice2003);
XTPPaintManager()->SetTheme(xtpThemeOffice2003); then display styles: but I want to get display style:
I can't find the reason.
Please help me!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
If you want standard Style, you can use standad CButton. See our Button sample, it shows how to enable WInXP theme.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
littleameng
Groupie Joined: 22 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Firstly, thank you for your answer!
Now I want the office 2003 style! but I can't do it!
Could you tell me how to do?
|
|
littleameng
Groupie Joined: 22 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
|
After saw the button sample, I have found that I modify "CXTButton" to "CXTPButton" and I can see the standad style. But I don't know the reason, Could you tell me the different between "CXTButton" class and "CXTPButton" class! Thank you very much! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
CXTPButton is new class in 12.0 release. I recommend use it for new applications.
|
|
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 |