🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

CreateWindowEx

#1683
From: JD
Date: Fri, 29 Jun 2007 17:32
15 lines
1513 bytes
I've added a button to a dialog using CreateWindowEx and
everything works as intended except that the caption is
bold text. How do I get rid of the bold?

    HWND hLayout = ::CreateWindowEx( ::GetWindowLong(hOK, GWL_EXSTYLE), // 
copy the IDOK button
                                     "BUTTON", "Layout",
                                     ::GetWindowLong(hOK, GWL_STYLE) & 
~BS_DEFPUSHBUTTON,
                                     R.left, R.top, R.right - R.left, 
R.bottom - R.top,
                                     hDlg, (HMENU)IDLAYOUT, HInstance, 
NULL );

~ JD
Technical Details
Message-ID: <4685424c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!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

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5cc246a546c237d9,start
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
Subject: CreateWindowEx
Date: Fri, 29 Jun 2007 12:32:56 -0500
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 172.144.149.113
Message-ID: <4685424c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183138380 172.144.149.113 (29 Jun 2007 10:33:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!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