Re: [DUG]: How do you determine a form is manually minimised?

2000-05-28 Thread Rohit Gupta
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

RE: [DUG]: How do you determine a form is manually minimised?

2000-05-28 Thread Dennis Chuah
I think you will need to trap WM_SYSCOMMAND with the wCmdType value set to SC_MINIMIZE. The alternative is to trap WM_SIZE with the fwSizeType value set to SIZE_MINIMIZED. Hope this helps. Dennis. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of C

RE: [DUG]: How do you determine a form is manually minimised?

2000-05-28 Thread Cheng Wei
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 recipie

Re: [DUG]: How do you determine a form is manually minimised?

2000-05-28 Thread Rohit Gupta
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

Re: [DUG]: Re: Error Messages (fwd)

2000-05-28 Thread Mark Derricutt
On Mon, 29 May 2000, Aaron Scott-Boddendijk wrote: > No but it's been asked for by developers since version 1... This is a > very handy feature I feared this would be the case :( --- New Zealand Delphi Users group - Del

[DUG]: How do you determine a form is manually minimised?

2000-05-28 Thread Cheng Wei
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 pr

Re: [DUG]: Re: Error Messages (fwd)

2000-05-28 Thread Aaron Scott-Boddendijk
>> #define DEBUG(str) fprintf(stderr, "%s:%d: %s", __FILE__, __LINE__, str) > Hiya, does delphi have any of doing something like Dimi suggests below? Re: Compiler Constants NOT preprocessor inlines. No but it's been asked for by developers since version 1... This is a very handy feature Usefu

[DUG]: Re: Error Messages (fwd)

2000-05-28 Thread Mark Derricutt
Hiya, does delphi have any of doing something like Dimi suggests below? -- Forwarded message -- Date: Sun, 28 May 2000 11:53:56 -0400 From: Dimitrie O. Paun <[EMAIL PROTECTED]> To: Mark Derricutt <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: Error Messages Resent-Date: Su