![]() |
Property sheet with Office 2003 Theme |
Post Reply ![]() |
Author | |
Jaws ![]() Newbie ![]() ![]() Joined: 20 June 2005 Location: Italy Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() Posted: 06 July 2005 at 8:56am |
Hi, my VC++ application has a property sheet made of property pages by using standard MFC classes, now I need to transform the property sheet (and pages) to apply the Office 2003 Theme. I read that CXTPCustomizeSheet and CXTPCustomizeOptionsPage derived from CPropertySheet and CPropertyPage respectively. So I've used these classes to use the graphical CodeJock capabilities (instead of MFC prop sheet and prop page). But here I've encountered a problem, I don't know what I can pass to CXTPCustomizeSheet constructor. It requires a pointer to a command bars but in my DIALOG APPLICATION where can I find it? Is my approach to the problem wrong? What is the best way to solve my problem without using a tab manager control? If it is possible I want to mantain the structure with property sheet and property pages. Thank you! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Customization can't work for Dialogs and custom ToolBars. sorry.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Jaws ![]() Newbie ![]() ![]() Joined: 20 June 2005 Location: Italy Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
There was a misunderstanding but now I solved the problem by using CXTResizePropertySheet. I have two other problems. 1) I can't apply Office 2003 Theme; my manifest is present and correct and I've used CXTPPaintManager::SetTheme(xtpThemeOffice2003); in the OnInitDialog of my property sheet. 2) I have some refresh problem on the property pages (I see the below dialog). What can I do? Thank you Edited by Jaws |
|
![]() |
|
Jaws ![]() Newbie ![]() ![]() Joined: 20 June 2005 Location: Italy Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
I solved on my own passing to a CXTPTabManager. Apply Office 2003 Theme was impossible by using CXTResizePropertySheet, it only allows to resize the property sheet dialog. For the refresh problem the cause was in groupboxex so, read at: http://forum.codejock.com/forum_posts.asp?TID=2147&K W=CXTPTabManager Bye Edited by Jaws |
|
![]() |
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 |