🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateWindowEx

#1688
From: JD
Date: Sat, 30 Jun 2007 04:59
19 lines
1510 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
> [...] Look at the WM_SETFONT message.

Thanks. It's all working as desired now but I have a couple of
questions:

Is this ok to do?

    ::SendMessage( hMargins,
                   WM_SETFONT,
                  (WPARAM)::SendMessage(hOK, WM_GETFONT, NULL, NULL),
                  TRUE );

Do I need to explicitly destroy the button created using
CreateWindowEx (I set it's parent as the dialog)? IOW,
does it work the same as the VCL?

~ JD
Technical Details
Message-ID: <4685e327@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4685424c@newsgroups.borland.com> <46854d3d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5cc246a546c237d9
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "JD" <nospam@nospam.com>
From: "JD" <nospam@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4685424c@newsgroups.borland.com> <46854d3d$1@newsgroups.borland.com>
Subject: Re: CreateWindowEx
Date: Fri, 29 Jun 2007 23:59:15 -0500
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 172.133.147.197
Message-ID: <4685e327@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183179559 172.133.147.197 (29 Jun 2007 21:59:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail