🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7253

Re: Can't set font Styles

#7253
From: Bob Gonder
Date: Wed, 23 Feb 2005 17:13
13 lines
1595 bytes
Sabetay Toros wrote:

>This question was asked in the using groups.  It turns out that either 
>my computer can't hadle or there is an error. So I want to set the font 
>style by Windows API. How can I do this. Any suggestions ?

See CreateFont()

>In the following code snippet the program sets the variable fs to Bold. 
>But the Property of the Font cant be updated. What am I doing wrong?

Might need to select the Bold font to begin with. (or release the
current font, and re-select the Bold version)
Technical Details
Message-ID: <e6ep111i4pffqo78ukfkuls45tn88jhfuu@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <421bb608@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,aa0d017ae269b1dd
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Can't set font Styles
Date: Wed, 23 Feb 2005 09:13:28 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <e6ep111i4pffqo78ukfkuls45tn88jhfuu@4ax.com>
References: <421bb608@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.146.209
X-Trace: newsgroups.borland.com 1109178807 67.77.146.209 (23 Feb 2005 09:13:27 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail