![]() |
EnableOffice2007Frame Question |
Post Reply
|
| Author | |
luowei886
Newbie
Joined: 24 August 2008 Location: China Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: EnableOffice2007Frame QuestionPosted: 24 August 2008 at 10:52pm |
|
I would like to join me in the program office2007 skin, but an error, why? CXTPPaintManager::SetTheme(xtpThemeOffice2007);EnableOffice2007Frame(GetCommandBars()); and
rc2 include
#ifdef APSTUDIO_INVOKED
#error this file is not editable by App Studio #endif //APSTUDIO_INVOKED #include "CodejockSample.rc"
#include "Styles\Office2007Blue\Office2007Blue.rc" why?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 August 2008 at 1:32am |
|
Hi,
derive your CMainFrame from CXTPOffice2007FrameHook
for example:
class CMainFrame : public CXTPMDIFrameWnd, CXTPOffice2007FrameHook
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
luowei886
Newbie
Joined: 24 August 2008 Location: China Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 August 2008 at 3:56am |
|
I already add CXTPOffice2007FrameHook |
|
![]() |
|
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 |