Larry
2010-02-11 11:02:50 UTC
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:
Loading Image...
The following is the 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);
where I guess the 0x00002000 should give the combobox that special style
(the control was originally created with ResEdit)
Unfortunately, I am still getting a normal style like the combo in the
middle shown in the picture...what am I doing wrong?
thanks
I am creating a combo box via C++ code in order to abtain the third combobox
on the right shown in the picture below:
Loading Image...
The following is the 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);
where I guess the 0x00002000 should give the combobox that special style
(the control was originally created with ResEdit)
Unfortunately, I am still getting a normal style like the combo in the
middle shown in the picture...what am I doing wrong?
thanks