Article View: news.software.readers
Article #161795Re: [Dialog] Refresh view when clicking on group?
From: RJB
Date: Tue, 01 Feb 2005 17:54
Date: Tue, 01 Feb 2005 17:54
31 lines
1701 bytes
1701 bytes
On Mon, 31 Jan 2005 12:41:54 -0500, pr wrote:
> Dialog newbie here after so many years with Gravity.
>
> I have added the script from the Wiki script library that downloads
> newsgroup headers when I click on the newsgroup name, which works well. I
> would like to add to this script the proper command that refreshes the view
> so that only unread messages/threads appear after new headers are
> downloaded.
>
> Is there a way to do this?
program NGLV_WM_LBUTTONUP;
procedure OnWMessage(var Msg:TMessage;var handled:boolean);
begin
ADo('GetNewHeadersInSelectedGroups');
Ado('RefreshView'); ####<---- add this line
end;
begin
end.
Make sure your view is set to #2 Unread Messages
--
RJB
2/1/2005 12:49:42 PM
Kill my boss? Do I dare live out the American dream?
--Homer Simpson
Technical Details
Message-ID:
<fkop5mmcppyv.dlg@robartle.nospam.hotmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<1nhjrcwgigagc$.5ptvio4z5i1c$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <fkop5mmcppyv.dlg@robartle.nospam.hotmail.com> Subject: Re: [Dialog] Refresh view when clicking on group? Date: Tue, 1 Feb 2005 12:54:47 -0500 From: RJB <robartle@NOSPAM.hotmail.com> References: <1nhjrcwgigagc$.5ptvio4z5i1c$.dlg@40tude.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 31 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net oAUTYUOLB9Bf7g6qdn7mHAyw/rNrJIWL9343XjORChK5Krbqo= User-Agent: 40tude_Dialog/2.0.14.1