Rajeev,
My understanding is:
OnResize occurs when the window receives a WM_RESIZE message from Win32.
OnSizeChanged occurs when the Size property changed.
As Rob stated, OnSizeChanged calls OnResize, also somehow when OnResize
occurs the Size property itself changes...
Also realize that OnResize will cause OnLayout to be called outside of
matching calls of the SuspendLayout and ResumeLayout functions.
I normally use OnLayout to change the layout of controls in respond to a
sizing event. As OnLayout is protected by the SuspendLayout & ResumeLayout
functions.
Hope this helps
Jay
Hi,
What is the differnce between OnResize and OnSizeChanged events in windows
forms.
Thanks
Rajeev