Should I use WM_WINDOWPOSCHANGED;? (I havn't seen CM_WINDOWPOSCHANGED or similar)
Will the TGraphicControl even be notified of this message (it has no Handle)? What is the correct method?
Thanks.
Just a thoght after accepting the answer:
Strangely or maybe intentionally OnResize fires even if only the Top/Left of the control position where changed:
in Delphi 7 Resize is called in TControl.SetBounds right after it calls Perform(WM_WINDOWPOSCHANGED) even if no actual resize was made and the control was moved.
Is this by design?