How can the list control box resize upon the resizing of the dialog box
Printable View
How can the list control box resize upon the resizing of the dialog box
m_control_list.SetWindowPos()
**************************
* Cao Jiling *
**************************
WINDOWPLCEMENT wn;
m_ListBox.GetWindowPlacement(&wn);
wn.rcNormalPosition.left=
wn.rcNormalPosition.right=
wn.rcNormalPosition.top=
wn.rcNormalPosition.bottom=
m_ListBox.Set WindowPlacement(&wn);
This works.
Chow,