Print Page | Close Window

SetCaptionFontIndirect

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=7716
Printed Date: 28 September 2024 at 7:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetCaptionFontIndirect
Posted By: adico
Subject: SetCaptionFontIndirect
Date Posted: 02 August 2007 at 4:34pm
I have created a CXTPTaskPanelGroup which has a couple of CXTPTaskPanelGroupItem. However, when I try to change the font size in one of the items, it changes for all group items. How can I change the font for just a specific CXTPTaskPanelGroupItem?

// pseudo code
CXTPTaskPanelGroup* pGroup = AddGroup(ID_GROUP);
pGroup->SetCaption("MyGroup");
CXTPTaskPanelGroupItem* pItem1 = pGroup->AddTextItem("text1");
CXTPTaskPanelGroupItem* pItem2 = pGroup->AddTextItem("text2");
CXTPTaskPanelGroupItem* pItem3 = pGroup->AddTextItem("text3");

((CXTPTaskPanelPaintManager*)pItem3->GetPaintManager())->SetItemsFontIndirect(&logFont);

Thanks in advance for your help.





-------------
I am not my memories...I am my dreams!



Replies:
Posted By: Oleg
Date Posted: 03 August 2007 at 1:38am

Hello,

Sorry, individual font is not supported.



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


Posted By: adico
Date Posted: 03 August 2007 at 9:23am
Oleg,

Thanks for your reply. I am just curious if there are any workaround. Anyway, to get it done.


-------------
I am not my memories...I am my dreams!


Posted By: adico
Date Posted: 03 August 2007 at 11:44am
Originally posted by adico adico wrote:

Oleg,

Thanks for your reply. I am just curious if there are any workaround. Anyway, to get it done. The reason I am asking, is because I have some buttons inside the group control, and I noticed that the button's font didn't change.


-------------
I am not my memories...I am my dreams!


Posted By: Oleg
Date Posted: 04 August 2007 at 2:01am
Hi,
Send request to mailto:support@codejock.com - support@codejock.com I will send you changed files.


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


Posted By: adico
Date Posted: 13 August 2007 at 10:49am
Ole,

I sent an example last week. Did you get a chance to look at it?

Thanks,
Adico


-------------
I am not my memories...I am my dreams!


Posted By: adico
Date Posted: 13 August 2007 at 10:51am
Originally posted by adico adico wrote:

Oleg,

I sent an example last week. Did you get a chance to look at it?

Thanks,
Adico


-------------
I am not my memories...I am my dreams!


Posted By: Oleg
Date Posted: 13 August 2007 at 3:05pm
Hello,
 
I see issue 14377  was closed by Customer Service - think they can't find your order#. Please reopen it and specify your order.
and please note what version you currently have.


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



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