Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - EnableOffice2007Frame Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

EnableOffice2007Frame Question

 Post Reply Post Reply
Author
Message
luowei886 View Drop Down
Newbie
Newbie


Joined: 24 August 2008
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote luowei886 Quote  Post ReplyReply Direct Link To This Post Topic: EnableOffice2007Frame Question
    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"
 
but an error
why?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
luowei886 View Drop Down
Newbie
Newbie


Joined: 24 August 2008
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote luowei886 Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2008 at 3:56am

I already add CXTPOffice2007FrameHook
but have an error?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.