Description: we often use to mix frame, and frames are combinations are two kinds of functions-- and the drop-down list. Under normal circumstances, the list box and the width of the selection box is the same width, but sometimes we need to do is list the width of the frame, one will enable us to better do our election of the things. To have this function, I wrote the following this function. First of all in your dialog box to add one of the news WM_CTLCOLOR handle, or use the inheritance CComboBox category, but which add the following code :
File list (Check if you may need any files):