🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Adding BS_MULTILINE to a radio button fails

#12111
From: Bob Gonder
Date: Sun, 28 Dec 2003 16:19
13 lines
1425 bytes
Fernando wrote:

>If I try to add the BS_MULTILINE style to a TRadioBon that is on a TTabStrip,
>it fais.  If the same TRadioButton is on the form, it works fine. =:-O
>
>What's going wrong????

What does GetLastError() say is wrong?

>      ::SetLastError(0);
>      ret = ::SetWindowLong(handle, GWL_STYLE,
>                            ::GetWindowLong(handle, GWL_STYLE) |
>BS_MULTILINE);
Technical Details
Message-ID: <qf0uuv08ts7kmm5di5tvoetpsrrgvvoov0@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <oqrouv0va2iimdujpr5ordonsf92og80of@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3777a8848f83194a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-28 08:23:42 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Adding BS_MULTILINE to a radio button fails
Date: Sun, 28 Dec 2003 08:19:12 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <qf0uuv08ts7kmm5di5tvoetpsrrgvvoov0@4ax.com>
References: <oqrouv0va2iimdujpr5ordonsf92og80of@4ax.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.31.165.59
X-Trace: newsgroups.borland.com 1072628353 67.31.165.59 (28 Dec 2003 08:19:13 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail