🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to Trigger the Main Program from a Timer Procedure?

#14163
From: Bob Gonder
Date: Tue, 02 Sep 2003 20:15
19 lines
1911 bytes
Remy Lebeau (TeamB) wrote:
>
>"Bob Gonder"  wrote in message
>
>> How does the VCL know which button was pressed?
>
>WM_COMMAND is sent to the Parent VCL control of the button,
 ....
>(a descendant of TWinControl) then intercepts CN_COMMAND messages, test them
>for BN_CLICKED notifications, and act accordingly.

Wow.
Could he call something simple like maybe NextButton::OnClick() ?

Hmm... SetProp()....
I think that's what I was looking for 4-5 years ago.
Now if I can just figure out how to put column header buttons into a
list view. (non-vcl of course). I wanted to build forms at run-time
(no .rc)
Technical Details
Message-ID: <8op9lvgh1nut5j7onf31mlv7d901j164fg@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <oprus769kobq7az6@newsgroups.borland.com> <3f53a731$1@newsgroups.borland.com> <i7c7lv4b1hb6f6k5upe6qsv718q7qi1jth@4ax.com> <opruue6dumbq7az6@newsgroups.borland.com> <jvf8lv4n3r77fendn3jhcher6ppblrhsk3@4ax.com> <3f5443bb$1@newsgroups.borland.com> <26n8lv07s0tvfprnifpa1g0taki56lojoo@4ax.com> <3f54cb7f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e4cd861378e7d24
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-02 13:26:56 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to Trigger the Main Program from a Timer Procedure?
Date: Tue, 02 Sep 2003 13:15:24 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <8op9lvgh1nut5j7onf31mlv7d901j164fg@4ax.com>
References: <oprus769kobq7az6@newsgroups.borland.com> <3f53a731$1@newsgroups.borland.com> <i7c7lv4b1hb6f6k5upe6qsv718q7qi1jth@4ax.com> <opruue6dumbq7az6@newsgroups.borland.com> <jvf8lv4n3r77fendn3jhcher6ppblrhsk3@4ax.com> <3f5443bb$1@newsgroups.borland.com> <26n8lv07s0tvfprnifpa1g0taki56lojoo@4ax.com> <3f54cb7f@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.221
X-Trace: newsgroups.borland.com 1062533725 67.31.165.221 (2 Sep 2003 13:15:25 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail