Neven MacEwan asked:

> Further to my earlier message
> Im trying to trap a control 'moving' on a form
>
> Has anyone which message would be best - (not WM_PAINT)

Have a look at the WM_WINDOWPOSCHANGING and WM_WINDOSPOSCHANGED messages
and what they provide you. These are the "highest" level notifications
that are sent by windows when a window is being altered in size, position
or z-order. If this is too moch have a look at the WM_MOVE message, which
is simply created by the default windows proc in reciept of appropiate
WM_WINDOSPOSCHANGED messages.

Cheers, Max.


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

Reply via email to