Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - what does "SetGlobalFont" do ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

what does "SetGlobalFont" do ?

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

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post Topic: what does "SetGlobalFont" do ?
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 July 2009 at 2:22am
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
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.266 seconds.