🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #113377

Re: Dialog key

#113377
From: RickM
Date: Sun, 03 Nov 2002 12:23
33 lines
2170 bytes
On Sat, 02 Nov 2002 16:13:59 GMT, Tarkus wrote:

> Speaking of which, is it possible to save the Help window's size and 
> position, including pane size, or does Windows handle that?  I like to 
> keep it maximized with the full left pane showing, but every time I 
> invoke it, it's tiny again.

Custom script to start help maximised:

Program ShowHelp;

uses
  Forms;
  
const
  SW_NORMAL = 1; 
  SW_MAXIMIZE = 3;
  SW_MINIMIZE = 6;    

function ShellExecute(hwnd: LongWord; lpOperation: pchar;
                      lpFile: pchar; lpParams: pchar;
                      lpDir: pchar; nShow: integer): LongWord;
                      external 'ShellExecuteA@shell32.dll stdcall';

Begin
  ShellExecute(Application.MainForm.Handle, 'open',
               pchar(ExtractFilePath(Application.ExeName) +
               'dialog.chm'), '', '', SW_MAXIMIZE);           
End.

-- 
Rick
Technical Details
Message-ID: <ih1slhp3onoo$.zky11vk428sv$.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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news.theplanet.net!not-for-mail
References: <iutp22sbyb6t$.f4dypwnineb6.dlg@40tude.net> <srh4sug7211dgrcr96td90ohbiq9fbikpf@news> <12ksbitm843xb.dlg@40tude.com> <10245i4j2hq74.dlg@aspects.org.au> <upo5u4m4wf93$.dlg@40tude.com> <1ld0nz30ribp1.dlg@tarkus.karnevil9.com>

Show Full Headers
Complete Article Headers
Message-ID: <ih1slhp3onoo$.zky11vk428sv$.dlg@40tude.net>
Subject: Re: Dialog key
Date: Sun, 3 Nov 2002 12:23:56 +0000
From: RickM <msuser1@mail.com>
References: <iutp22sbyb6t$.f4dypwnineb6.dlg@40tude.net> <srh4sug7211dgrcr96td90ohbiq9fbikpf@news> <12ksbitm843xb.dlg@40tude.com> <10245i4j2hq74.dlg@aspects.org.au> <upo5u4m4wf93$.dlg@40tude.com> <1ld0nz30ribp1.dlg@tarkus.karnevil9.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news.theplanet.net!not-for-mail
Newsgroups: news.software.readers
Lines: 32
NNTP-Posting-Host: 217.135.22.148
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news8.svr.pol.co.uk 1036326369 562 217.135.22.148 (3 Nov 2002 12:26:09 GMT)
NNTP-Posting-Date: 3 Nov 2002 12:26:09 GMT
X-Complaints-To: abuse@theplanet.net
User-Agent: 40tude_Dialog/2.0.2.1