you could trap the
procedure WMGetMinMaxInfo(var MSG: TMessage); message
WM_GetMinMaxInfo;
The WM_GETMINMAXINFO message is sent to a window when the size or position
of the window is about to change. An application can use this message to
override the window's default maximized size and position, or its default
minimum or maximum tracking size
Chris
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alistair George
Sent: Wednesday, July 21, 1999 3:16 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Min/max windows
Afternoon.
anyone know how to detect minimise and maximise of the window. WM_SIZE is no
good, because the window is only being minimised to taskbar, or maximised to
fullsize, not resized, so the following is not applicable:
procedure WMSize(var Message: TWMSize); message WM_SIZE;
---------------------------------------------------------------------------
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