> 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
- [DUG]: How to draw a non-rectangular control? Tom Munro Glass
- RE: [DUG]: How to draw a non-rectangular control? Chris Crowe
- [DUG]: Min/max windows Alistair George
- RE: [DUG]: Min/max windows Chris Crowe
- RE: [DUG]: Min/max windows Max Nilson
- RE: [DUG]: Min/max windows Chris Crowe
- [DUG]: Graphic problems Steven Wild
- [DUG]: Graphic problems Alistair George
- Re: [DUG]: Graphic problems Glen Boyd
- RE: [DUG]: How to draw a non-rectangular control? Wes Edwards
- [DUG]: IO error values Leo Ramakers
- RE: [DUG]: IO error values Patrick Dunford
- RE: [DUG]: How to draw a non-rectangular control? Tom Munro Glass
- Re: [DUG]: How to draw a non-rectangular control... Tony Sinclair
- RE: [DUG]: How to draw a non-rectangular control? Tom Munro Glass