![]() |
How to change the dialog titlebar with xtreme? |
Post Reply ![]() |
Author | |
question ![]() Newbie ![]() Joined: 18 October 2008 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
question ![]() Newbie ![]() Joined: 18 October 2008 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
question ![]() Newbie ![]() Joined: 18 October 2008 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Is there anyone can help me?
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |