Print Page | Close Window

Change colors of a theme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5548
Printed Date: 11 November 2025 at 8:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change colors of a theme
Posted By: farr02
Subject: Change colors of a theme
Date 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





Replies:
Posted By: farr02
Date Posted: 17 November 2006 at 9:26am
I found out myself:
    int aElement[]  = { COLOR_APPWORKSPACE };
    COLORREF aColor[] = { RGB(...) };
    GetPaintManager()->SetColors( 1, aElement, aColor );




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net