創建下拉列表框
/*
* create Combo box
*/
BOOL CreateCMBWindow()
{
HWND hwnd=NULL;
hwnd=CreateWindow("COMBOBOX",
NULL,
WS_CHILD|WS_VISIBLE|CBS_AUTOHSCROLL|CBS_DROPDOWNLIST,
10,10,
200,200,
hMainWnd,
HMENU(IDC_COMBOBOX),
hMainIns,
NULL);
if(!hwnd)
{
return FALSE;
}
hCMBWnd=hwnd;
return