what does "SetGlobalFont" do ? |
Post Reply |
Author | |
jshan
Groupie Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
Posted: 10 July 2009 at 11:25am |
Hi.
Recently, I found the fact that fresh XP systems dont have a font "Segoe UI" which i preferred and defaults in VISTA.
So I checked out the font with XTAuxData().FontExists(_T("Segoe UI")); and if FALSE,
load "Verdana" instead by XTAuxData().SetGlobalFont("Verdana");
But it seems it did nothing.
is there a way to override FontSets in XTPPaintManager that effects entire library ?
would anyone give me a right way to solve this pro ?
regards.
|
|
: xtp 16.2.0(Unicode static lib)
: windows 7 Pro Kor sp1(64bit) : vs 2012 update 2 MFC |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
There is no global font now - you have set it manually for each PaintManager you use.
like XTPPaintManager()->SetCommandBarsFontIndirect(..);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |