True, what about onresize, does that not fire.  If it does not, then I guess
you will have to trap windows messages.

-----Original Message-----
From: Cheng Wei <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Monday, 29 May 2000 16:35
Subject: RE: [DUG]: How do you determine a form is manually minimised?


Thanks, but TForm doesn't have an OnMinimise event!
OnMinimise event in TApplicationEvents won't help me, what I need is the
other way around.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Rohit Gupta
Sent: Monday, 29 May 2000 15:16
To: Multiple recipients of list delphi
Subject: Re: [DUG]: How do you determine a form is manually minimised?


There is an onminimise event

-----Original Message-----
From: Cheng Wei <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Monday, 29 May 2000 12:00
Subject: [DUG]: How do you determine a form is manually minimised?


Hi all,

If a form is not the main form, when user click the Minimise BorderIcon (or
menu item), it is minimised and placed on top of the task bar. I need to
call Application.Minimize whenever this happens, so that there is always
only one taskbar icon representing the application. (there is no problem to
restore the form, simply drop a TApplicationEvents component on the form).

How do I know a form is minimised, trap windows messages? or is there  an
easier way?

Thanks
Cheng




---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to