Article View: borland.public.cppbuilder.nativeapi
Article #8281Re: Colour and Font from Handle
From: Remy Lebeau (TeamB)
Date: Tue, 09 Nov 2004 22:21
Date: Tue, 09 Nov 2004 22:21
15 lines
1316 bytes
1316 bytes
"Chris" <chris@REMOVETHISchrischfmousey.karoo.co.uk> wrote in message news:41913a9c$1@newsgroups.borland.com... > Is it possible to get the back colour and the current font of a windows edit > control from the window handle? For getting the colors, look at GetWindowDC(), GetTextColor(), GetBkColor(). For the font, that is a little more involved. What kind of font data are you looking to retrieve exactly? Gambit
Technical Details
Message-ID:
<419142a6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41913a9c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,329ec276f5c5c9bf X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <41913a9c$1@newsgroups.borland.com> Subject: Re: Colour and Font from Handle Date: Tue, 9 Nov 2004 14:21:50 -0800 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <419142a6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100038822 68.69.17.41 (9 Nov 2004 14:20:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail