hi, I am writing a program that uses comboboxes that have the styles CBS_DROPDOWN | CBS_HASSTRINGS | | WS_VSCROLL
This makes the combobox also a textbox, ie you can type into it or select an item from its drop down.
However, I am trying to capture events for the text-box part of the combobox (onkeypressed, and onfocus ect). But none of them work when I click to focus the text-only area. They work when I hit the drop down button (triggers onFocus), but if I put the mouse on the text-edit part and focus it onFocus is not called ?
any help would be appreciated, thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, I am writing a program that uses comboboxes that have the styles CBS_DROPDOWN | CBS_HASSTRINGS | | WS_VSCROLL
This makes the combobox also a textbox, ie you can type into it or select an item from its drop down.
However, I am trying to capture events for the text-box part of the combobox (onkeypressed, and onfocus ect). But none of them work when I click to focus the text-only area. They work when I hit the drop down button (triggers onFocus), but if I put the mouse on the text-edit part and focus it onFocus is not called ?
any help would be appreciated, thanks.
ok I got it to work by copying and pasting an example of the use of the onRaw exception handler.
Thanks.
if you could post it here on how you resolve it, that would be great. thanks.