Print Page | Close Window

Best way to set Static-Control textcolor and font

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=18350
Printed Date: 19 June 2025 at 5:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Best way to set Static-Control textcolor and font
Posted By: FSauer
Subject: Best way to set Static-Control textcolor and font
Date Posted: 10 May 2011 at 7:06am
Hi,

what is the best way to set textcolor and font to static-control?

Does Codejock provide a CStatic derivated class for this?

best regards
FS



Replies:
Posted By: mgampi
Date Posted: 10 May 2011 at 7:34am
Hi;

In one of their samples they have a CMarkupStatic. Take a look at this!


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: FSauer
Date Posted: 10 May 2011 at 7:42am
Thanks, this seems to be what I search for. Smile


Posted By: FSauer
Date Posted: 10 May 2011 at 8:18am
How should the MarkupText be structured to pass to SetMarkupText?

- background-color should be transparent -> color of skin-background
- Text bold and colored

Could someone give an example?






Posted By: FSauer
Date Posted: 11 May 2011 at 3:48am
My problem is, I dont know how the background is to set that its the same as the current skin.
Is there a param to set the window background color?  Background='????'


Posted By: FSauer
Date Posted: 11 May 2011 at 3:54am
Is there anywhere a help/docu, which describe all functionallity of MarkupText-Syntax?


Posted By: mgampi
Date Posted: 11 May 2011 at 4:30am
Hi;

In folder ..\Codejock Software\MFC\Xtreme ToolkitPro vxxxx\Utils\Markups you find sample markups and  a readme file. In help folder you can find a MarkupGuide.chm file...
HTH


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: FSauer
Date Posted: 17 May 2011 at 2:08am
Thanks!!! Tongue


Posted By: sfi_dev
Date Posted: 01 June 2011 at 9:45pm
Hi there,
 
I dont seem to have that chm guide in my toolkit ? Is there somewhere I can download it ?


Posted By: FSauer
Date Posted: 13 June 2011 at 4:54pm
Hi,

its in your install path of codejock software.

you can find it in ..\Codejock Software\MFC\Xtreme ToolkitPro v12.0.2\Help\markupguide.chm

cheers,
FS




Posted By: sfi_dev
Date Posted: 13 June 2011 at 8:37pm
Hi Fsauer, I do not have that folder and I have purchased the graph control.  I will contact codejock to get it.  Cheers.



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