answer my own question :-
SetWindowPos(Self.Handle, HWND_TOPMOST, 0,0,0,0,
SWP_NOACTIVATE+SWP_NOMOVE+SWP_NOSIZE);
I must spell Delphi right next time I search google si I can find
answers :-D
Jeremy
-----Original Message-----
From: "vss" <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wed, 11 Jun 2003 12:13:33 +1200
Subject: [DUG]: MDIForm Stay on Top
> Hi All
> I have an MDI form, BUT it has to stay on top or be modal.
> Because its an MDI form, it cant be a StayOnTop becuase thats the next
> item in the property drop down, and weven if I call ShowModal in say
> the
> oncreate event, its not modal.
> It does not have to be modal, just stay on top.
>
> Anyone got any ideas?
>
> Jeremy
>
> -----------------------------------------------------------------------
> ----
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/