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

Office2007 Themes

 Post Reply Post Reply
Author
Message
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Topic: Office2007 Themes
    Posted: 21 February 2011 at 10:29am
In the current version of ToolKitPro, all four Office2007 Themes must be included:
 
#include "Styles\Office2007\Office2007.rc"
 
however in previous versions we were able to include only the color(s) we needed:
 
#include "Styles\Office2007Blue\Office2007Blue.rc"
 
The requirement to add all four themes increase the size of our resource dll by about 1.7 MB. 
 
Is there any plans to allow selected color includes in the future?
 
 
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 22 February 2011 at 3:30am
Hi,

For 15.0.2 we added some defines to exclude colors:

after update please add before include
#define _XTP_EXCLUDE_OFFICE2007AQUA
#define _XTP_EXCLUDE_OFFICE2007SILVER
#define _XTP_EXCLUDE_OFFICE2007BLACK

Now can just open Office2007.rc and delete what you don't need.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2011 at 7:36am
Since you have defined excludes, I would have thought they would have been placed in the Office2007.rc. 
 
Is there anything wrong with simply copying the 1342 Source/Styles/Office2007Blue directory to a private location and using that instead of messing around trying delete all the correct stuff in the 1501 directory?
 
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2011 at 9:27am
Smile
Never mind.  I see what you mean.  I manually added the proposed exclude statements to the 1501 Office2007.rc and it work as you suggested.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 22 February 2011 at 12:39pm
Right :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.