🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Colour and Font from Handle

#8302
From: Remy Lebeau (TeamB)
Date: Wed, 10 Nov 2004 18:07
21 lines
1507 bytes
"Chris" <chris@REMOVETHISchrischfmousey.karoo.co.uk> wrote in message
news:4191d3da$1@newsgroups.borland.com...

> As regards the font, I would really prefer a LOGFONT

    LOGFONT lf = {0};
    HFONT hFont = reinterpret_cast<HFONT>(SendMessage(EditHandle,
WM_GETFONT, 0, 0));
    if( hFont != NULL )
    {
        GetObject(hFont, sizeof(LOGFONT), &lf);
        // use lf as needed...
    }

> I cannot set HideSelection to false for the application's textboxes

Why not?


Gambit
Technical Details
Message-ID: <41925872$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41913a9c$1@newsgroups.borland.com> <419142a6$1@newsgroups.borland.com> <4191d3da$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> <419142a6$1@newsgroups.borland.com> <4191d3da$1@newsgroups.borland.com>
Subject: Re: Colour and Font from Handle
Date: Wed, 10 Nov 2004 10:07:09 -0800
Lines: 23
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: <41925872$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100109938 68.69.17.41 (10 Nov 2004 10:05:38 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail