Article View: borland.public.cppbuilder.nativeapi
Article #8282Re: Colour and Font from Handle
From: Bob Gonder
Date: Tue, 09 Nov 2004 22:49
Date: Tue, 09 Nov 2004 22:49
12 lines
1395 bytes
1395 bytes
Remy Lebeau (TeamB) wrote: >"Chris" wrote in message > >> 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(). Perhaps also GetTextMetrics and GetTextFace. Also maybe WM_GETFONT
Technical Details
Message-ID:
<i0i2p0pomq0rfao2m0l99lutm6du2l08q0@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!63.218.45.11.MISMATCH!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41913a9c$1@newsgroups.borland.com> <419142a6$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: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Colour and Font from Handle Date: Tue, 09 Nov 2004 14:49:11 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <i0i2p0pomq0rfao2m0l99lutm6du2l08q0@4ax.com> References: <41913a9c$1@newsgroups.borland.com> <419142a6$1@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.36.89 X-Trace: newsgroups.borland.com 1100040548 67.77.36.89 (9 Nov 2004 14:49:08 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!63.218.45.11.MISMATCH!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail