> 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;


Have a look at the WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages.
These fire before and after a window position state change and include all
the information in minimization, maximization, restoring, z-order and such
like things.

Cheers, Max.


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

Reply via email to