🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #113776

Re: [Dialog] Scripting Questions

#113776
From: Juergen Haible
Date: Tue, 05 Nov 2002 21:43
32 lines
2446 bytes
Andreas Loch:

> Fri, 1 Nov 2002 22:59:00 +0100, Juergen Haible:
> 
>> program NGLV_WM_LBUTTONUP;
>> [...]
> 
> If I understand this correct, NGLV is NewsGroup List View and 
> LBUTTONUP is a single click with the left mouse button. Is there a 
> documentation for all available controls and "messages"?

Not really, but (e. g.) searching for WM_LBUTTONDOWN on Google or 
msdn.microsoft.com might give you a start.

> Another thing. I would like Dialog to collapse all threads if I enter 
> a group. So I replaced "ADo('GetNewHeadersInSelectedGroups');" by 
> "ADo('CollapseAllThreads');" in your script. This works fine if a 
> group has expanded threads and I select that group again; all threads 
> become collapsed. But if I select another group, dialog freezes 
> immediately. Is this a bug or did I just not really understand what 
> I'm doing there?

Presumably a "message deadlock". Expanding and collapsing is internally 
done by sending a message to that control, but it can't be handled while 
the LBUTTONUP one has not finished. So collapsing waits for LBUTTONUP to 
finish and LBUTTONUP waits for collapsing to finish ...

Perhaps injecting the shortcut (e. g. PostKey with Shift+"-") will work, 
but I have not tried it.

-j'Znagvf.Nqq(NNflapQb)'h-
Technical Details
Message-ID: <1b5qjl0qkht5k$.dlg@freebee.dyndns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <AHow9.141762$ab3.99724@fe02> <13vo2jwc1s0if$.dlg@freebee.dyndns.org> <aq6pl5.tg.1@quant.anchedo.net>

Show Full Headers
Complete Article Headers
Message-ID: <1b5qjl0qkht5k$.dlg@freebee.dyndns.org>
Subject: Re: [Dialog] Scripting Questions
Date: Tue, 5 Nov 2002 22:43:01 +0100
From: Juergen Haible <juergen.haible@t-online.de>
References: <AHow9.141762$ab3.99724@fe02> <13vo2jwc1s0if$.dlg@freebee.dyndns.org> <aq6pl5.tg.1@quant.anchedo.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 31
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1036532905 02 7753 cGKWbJ5SSWFcKP 021105 21:48:25
X-Complaints-To: abuse@t-online.com
X-Sender: 073813357-0002@t-dialin.net
User-Agent: 40tude_Dialog/2.0.2.1 (e2719f8d.256.236) Hamster-Pg/1.5.0.11