Article View: borland.public.cppbuilder.nativeapi
Article #8654Re: Changing the Charset for a font based on the system font
From: Vladimir Stefanovic
Date: Mon, 04 Oct 2004 13:07
Date: Mon, 04 Oct 2004 13:07
49 lines
2375 bytes
2375 bytes
Oops... sory, I somehow thought you are asking of menu font. Changing charsets of system parts of the windows is not trivial task and often needs previous system changes. On Win98: ControlPanel/Keyboard/Languages ... (sometimes it is necessary to *complete* reinstall the whole OS, and select the desired language/keayboard when first asked!) On WinXP: Regional and Language Options / Advanced / Language for non-unicode programs has to point to some special language like Serbian-latin at my case if I want to see diacrytical marks. Best regards, Vladimir Stefanovic Vladimir Stefanovic <spam@not.needed> wrote in message news:41614752@newsgroups.borland.com... > How about: > > Screen->MenuFont->Name = "Arial"; > Screen->MenuFont->Size = 8; > Screen->MenuFont->Charset = EASTEUROPE_CHARSET; > > > > Best regards, > Vladimir Stefanovic > > Andrue Cope [TeamB] <no.spam@not.a.valid.address> wrote in message > news:41613eaa$1@newsgroups.borland.com... > > I want to be able to change the Charset for a font to draw a window > > caption. The simple way would seem to be to grab the stock > SYSTEM_FONT > > and use it as the basis for a logical font..but how? > > > > I can't find a function that returns a LOGFONT structure for a given > > font handle. > > > > -- > > Andrue Cope [TeamB] > > [Bicester, Uk] > > http://info.borland.com/newsgroups/guide.html > >
Technical Details
Message-ID:
<41614ae9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41613eaa$1@newsgroups.borland.com> <41614752@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b3109d9c045778c0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <spam@not.needed> Newsgroups: borland.public.cppbuilder.nativeapi References: <41613eaa$1@newsgroups.borland.com> <41614752@newsgroups.borland.com> Subject: Re: Changing the Charset for a font based on the system font Date: Mon, 4 Oct 2004 15:07:55 +0200 Lines: 51 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.116.227 Message-ID: <41614ae9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096895209 213.137.116.227 (4 Oct 2004 06:06:49 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail