how can i change the size of my edit control accordingly when the user maximises or restores the dialog window. I tried to use WM_SIZE, but I am not able to implement it. Pl help.