🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can't set font Styles

#7251
From: Thorsten Kettner
Date: Wed, 23 Feb 2005 09:39
18 lines
1706 bytes
Hi Sabetay, I suppose you won't be able to solve your problem 
with direct API calls. Please read my answer I just posted in 
vcl.using group.


Sabetay Toros <bilsarbiz@ttnet.net.tr> 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 ?
>
>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? I'm Using Builder 6;
>
>         TFontStyles fs  = TFontStyles() << fsBold;
>         RprMemo->Font->Style = fs;
Technical Details
Message-ID: <421c4f35$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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.nuthinbutnews.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: "Thorsten Kettner" <ANSWERBYthorsten.kettner@otto.de>
Sender: "Thorsten Kettner" <ANSWERBYthorsten.kettner@otto.de>
Reply-To: "Thorsten Kettner" <ANSWERBYthorsten.kettner@otto.de>
Subject: Re: Can't set font Styles
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 80.85.196.92     
References:  <421bb608@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <421c4f35$1@newsgroups.borland.com>
Date: 23 Feb 2005 01:39:01 -0800
X-Trace: newsgroups.borland.com 1109151541 207.105.83.66 (23 Feb 2005 01:39:01 -0800)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail