Article View: borland.public.cppbuilder.nativeapi
Article #8655Re: Changing the Charset for a font based on the system font
From: Andrue Cope [TeamB]
Date: Mon, 04 Oct 2004 13:10
Date: Mon, 04 Oct 2004 13:10
26 lines
1784 bytes
1784 bytes
Vladimir Stefanovic wrote: > How about: > > Screen->MenuFont->Name = "Arial"; > Screen->MenuFont->Size = 8; > Screen->MenuFont->Charset = EASTEUROPE_CHARSET; Ah but I don't want to change the application character set. The application itself is not running in Arabic and nor do I want it to - it just happens to have an Arabic string that I want to use as the current form's caption. I have accomplished this by creating a logical font from scratch and only specifying the character set. Unfortunately the font chosen by CreateFontIndirect() doesn't seem to be the system font so the caption doesn't look right. What I want is to be able to create a logical font based upon the system font but with an Arabic character set. -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<41614bb3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!atl-c02.usenetserver.com!news.usenetserver.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!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: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: Re: Changing the Charset for a font based on the system font Newsgroups: borland.public.cppbuilder.nativeapi References: <41613eaa$1@newsgroups.borland.com> <41614752@newsgroups.borland.com> User-Agent: XanaNews/1.16.4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <41614bb3$1@newsgroups.borland.com> Date: 4 Oct 2004 06:10:11 -0700 X-Trace: newsgroups.borland.com 1096895411 217.207.223.34 (4 Oct 2004 06:10:11 -0700) Lines: 26 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!atl-c02.usenetserver.com!news.usenetserver.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail