![]() |
EnableOffice2007Frame Question |
Post Reply ![]() |
Author | |
luowei886 ![]() Newbie ![]() Joined: 24 August 2008 Location: China Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |