
CFormView & Resizing Controls
Problem:
I have an MFC application who's view is derived from CFormView.
On this view/"dialog", I have placed a number of controls.
I wish to resize this controls whenever the main window gets resized.
I tried placing an event handler (for WM_SIZE) in both the view & frame
classes
with the following code
::MoveWindow( (HWND) dialog_control, whatever)
This doesn't work.
What is the proper way to handle this?