I just faced this issue – what I did was use a CFormView parent, creating a dialog containing a listbox in AppStudio. To get the sizing to work, add a WM_SIZE message handler to the view, and in it call SetWindowPos on the listbox (using the cx and cy arguments).…