Print Page | Close Window

How to change the dialog titlebar with xtreme?

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=13123
Printed Date: 23 June 2025 at 11:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change the dialog titlebar with xtreme?
Posted By: question
Subject: How to change the dialog titlebar with xtreme?
Date Posted: 09 January 2009 at 12:14am
Hello:

There are two problems can not be solved and I really need you help,I use xtreme tookit pro 12.0.0

1.How can i change the titlebar of a Dialog based Application without using skinframework?

HINSTANCE hResDLL = LoadLibrary("Office2007Blue.dll");
XTPOffice2007Images()->SetHandle(hResDLL, _T("OFFICE2007BLUE.INI"));

I load resource dll,and i can change the button and taskpanel theme to office2007 based styles,but i can not change the dialog titlebar,How can i made it?I don't want to use skinfreamwork to do this job,because a "msstyles" file have a big file size,thank you







Replies:
Posted By: Oleg
Date Posted: 09 January 2009 at 1:41am
Hi,
 
1. Dervive your class from CXTPOffice2007FrameHook:
 
class CPropertyGridDlg : public CDialog, CXTPOffice2007FrameHook
 
2. add lines in OnInitDialog:
 
  XTPPaintManager()->SetTheme(xtpThemeOffice2007);
  EnableOffice2007Frame(this, XTPPaintManager());


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: question
Date Posted: 09 January 2009 at 3:49am
Very appreciate your help Oleg, but I have one more problem to trouble you again.

I found class:"CXTPReportHyperlink" is so simple that i can not overload this class to change the link color and font size.etc, there is only three data members in the class,Could you pls tell me some idea about it?thank you.


Posted By: question
Date Posted: 10 January 2009 at 12:00pm
Is there anyone can help me?



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