Creating the Simple Dialog Box
The dialog box template defines the window styles and control identifier for the combo box. In this example, the combo box uses the CBS_SIMPLE, CBS_SORT, WS_VSCROLL, and WS_TABSTOP styles.
The dialog box also contains three buttons: Change (IDOK), Ignore (IDSKIP), and Cancel (IDCANCEL). The IDOK and IDCANCEL constants are defined by the Win32 API. The IDSKIP constant is defined in the application's header file, as is the control identifier for the combo box, IDCOMBO.
For more information about dialog boxes, see Dialog Boxes.