Hi,
I am creating a combo box via C++ code in order to abtain the third combobox on the right shown in the picture below:
The following is the code:
where I guess the 0x00002000 should give the combobox that special style (the control was originally created with ResEdit)Code:HWND hvComboBox = CreateWindowEx(0,WC_COMBOBOX,NULL, WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_VSCROLL | 0x00002000, 60, 62, 250, 100, hwnd,(HMENU)IDC_COMBO1,hInst,NULL);
Unfortunately, I am still getting a normal style like the combo in the middle shown in the picture...what am I doing wrong?
thanks





Reply With Quote