I have a dropdown combo box on a dialog. Of course, clicking on the dropdown "arrow", the dropdown list opens as it should. If you click on the actual text in the dropdown BEFORE it dropsdown, the text just highlights. How can we force the combo to drop down (open) when the displayed text is clicked on?
Trap for the CBN_SETFOCUS message then send a CB_SHOWDROPDOWN message to the combo box.
Jim
ATP BE400 CE500 (C550B-SPW) CE560XL MU300 CFI CFII
"The speed of non working code is irrelevant"... Of course that is just my opinion, I could be wrong.
"Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan 'press on' has solved and always will solve the problems of the human race."...Calvin Coolidge 30th President of the USA.
If you click on the actual text in the dropdown BEFORE it dropsdown, the text just highlights. How can we force the combo to drop down (open) when the displayed text is clicked on?
This is normal behavior for Dropdown combo (CBS_DROPDOWN). You may try to change the combo style to Drop List (CBS_DROPDOWNLIST) unless you still need the text to remain selectable.
This is normal behavior for Dropdown combo (CBS_DROPDOWN). You may try to change the combo style to Drop List (CBS_DROPDOWNLIST) unless you still need the text to remain selectable.
Bookmarks