I am trying to make my controls inside a dialog box size accordingly whenever the dialog box is maximized or the user drags the edges of the dialog.
But OnSize is called the moment the dialog is launched, which causes a debug Assertion becoz I am calling a GetViewRect of a list view to size it with the dialog.
How do I go about this problem... How do I capture the event that only occurs when the user drags the Edges of a Dialog box to SIze it or when the Maximize button is pressed????
what are the windows messages??