Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Best way to set Static-Control textcolor and font
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Best way to set Static-Control textcolor and font

 Post Reply Post Reply
Author
Message
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Topic: Best way to set Static-Control textcolor and font
    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
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2011 at 7:42am
Thanks, this seems to be what I search for. Smile
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post 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?




Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post 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='????'
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2011 at 3:54am
Is there anywhere a help/docu, which describe all functionallity of MarkupText-Syntax?
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2011 at 2:08am
Thanks!!! Tongue
Back to Top
sfi_dev View Drop Down
Newbie
Newbie


Joined: 07 April 2011
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sfi_dev Quote  Post ReplyReply Direct Link To This Post 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 ?
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
sfi_dev View Drop Down
Newbie
Newbie


Joined: 07 April 2011
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sfi_dev Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.