🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#14171
From: Bob Gonder
Date: Wed, 03 Sep 2003 03:14
16 lines
2091 bytes
Remy Lebeau (TeamB) wrote:
>
>"Bob Gonder"  wrote in message
>
>> Now if I can just figure out how to put column header buttons
>> into a list view. (non-vcl of course).
>
>A ListView already has built-in column headers and header buttons.  Simply
>use the ListView in report mode, and just make sure that the
>LVS_NOCOLUMNHEADER and LVS_NOSORTHEADER styles are not specified.  Then, to
>know when a header button has been clicked on, simply intercept the
>WM_NOTIFY message from the parent's window procedure and test for the
>LVN_COLUMNCLICK notification.

Thanks, I'll give it a try sometime soon. Don't recall seeing that
page in the help before...
Technical Details
Message-ID: <4umalv0ves3gd79g5k20phf5qsp5g6950e@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.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> <8op9lvgh1nut5j7onf31mlv7d901j164fg@4ax.com> <3f54fee6$1@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 20:17:43 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 20:14:27 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <4umalv0ves3gd79g5k20phf5qsp5g6950e@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> <8op9lvgh1nut5j7onf31mlv7d901j164fg@4ax.com> <3f54fee6$1@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.164.87
X-Trace: newsgroups.borland.com 1062558868 67.31.164.87 (2 Sep 2003 20:14:28 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail