James its most likely you already know this and want context-sensitive help
right?
But the standard way of stopping form minimise is to design your mainform
without minimize, but this stops context-sensitive help, which is either an
inherant problem with Windows, or Delphi form component.
Cheers,
Alistair+
> I have to following code to stop my application from being
> minimized. This
> works fine for everything except the show desktop feature that win98 has.
> Any ideas on how to stop this without removing the icon?
>
> procedure TMain.FormCreate(Sender: TObject);
> begin
> Application.OnMinimize := Restoreform;
> end;
>
> Procedure Tmain.restoreform(Sender : TObject);
> Begin
> Application.Restore;
> End;
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz