|
From: Zodiaq <zo...@ac...> - 2003-11-10 16:44:46
|
Hello all Dev-cpp-users, I got big problem that I can't pass... in my app I want to use combobox, i.e. in .rc file defined like this: COMBOBOX IDC_OPTIONS, 15, 80, 100, 11, WS_TABSTOP | CBS_DROPDOWNLIST | CBS_HASSTRINGS i know how to add new string to control but I can't force this control to show contents using dropdown list... when I click only line shows below but nothing else happens - I'm sure I need one more function, but which?? When I try to process CBN_DROPDOWN and in response send: SendDlgItemMessage( hwnd, IDC_MY_COMBO, CB_SHOWDROPDOWN, TRUE, 0 ); my program just crashes... even tried very simple dialog with 3 controls, but the same happens... help! -- regards, Zodiaq... |