Article View: news.software.readers
Article #113688Re: [dialog] Script question
From: RickM
Date: Tue, 05 Nov 2002 13:10
Date: Tue, 05 Nov 2002 13:10
30 lines
1699 bytes
1699 bytes
On Mon, 04 Nov 2002 11:48:05 +0100, Ch.Esperado wrote:
> Is-it a way to send a "enter" key by script ?
PostKey(13, false, false, false, false, false, false, false, false);
> Also, is-it a way to get a double left button clic on the body of the
> message viewer detection ?
You need to create a new Message script. The control you want is
"BODYEDIT", and you want to handle the WM_LBUTTONDBLCLK message.
Example:
program BODYEDIT_WM_LBUTTONDBLCLK;
uses
Forms;
procedure OnWMessage(var Msg:TMessage;var handled:boolean);
begin
Application.MessageBox('Have a nice day...', 'Message', 0);
end;
begin
end.
--
Rick
Technical Details
Message-ID:
<1wzyizbn4db6p$.7919yls8fqtu$.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newsfeed.online.be!newsfeed.esat.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news.theplanet.net!not-for-mailReferences:
<Xns92BC780D3C193chesperado@hamster-fr.org>Show Full Headers
Complete Article Headers
Message-ID: <1wzyizbn4db6p$.7919yls8fqtu$.dlg@40tude.net> Subject: Re: [dialog] Script question Date: Tue, 5 Nov 2002 13:10:42 +0000 From: RickM <msuser1@mail.com> References: <Xns92BC780D3C193chesperado@hamster-fr.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!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newsfeed.online.be!newsfeed.esat.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news.theplanet.net!not-for-mail Newsgroups: news.software.readers Lines: 29 NNTP-Posting-Host: 217.135.15.164 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: newsg3.svr.pol.co.uk 1036501980 17073 217.135.15.164 (5 Nov 2002 13:13:00 GMT) NNTP-Posting-Date: 5 Nov 2002 13:13:00 GMT X-Complaints-To: abuse@theplanet.net User-Agent: 40tude_Dialog/2.0.2.1