Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change colors of a theme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change colors of a theme

 Post Reply Post Reply
Author
Message
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Topic: Change colors of a theme
    Posted: 17 November 2006 at 5:36am
Hello,
does XTP 9.81 provide a simple way - without creating a new theme - to change the colors of one of the predefined themes (eg. I want CXTPOffice2003Theme with a user defined background color)?

Bye
   Holger


Back to Top
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2006 at 9:26am
I found out myself:
    int aElement[]  = { COLOR_APPWORKSPACE };
    COLORREF aColor[] = { RGB(...) };
    GetPaintManager()->SetColors( 1, aElement, aColor );

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.063 seconds.