Hi, I have a problem with a combo box I'm creating on-the-fly programmatically.
I can create the combo box and add items to it and select, etc. etc. - the problem I have is that when I click on the arrow to display the choices, the list doesn't appear and I can only choose items one-by-one.
What I want is for the user to be able to click on the arrow and then have the list display say 5 or 6 items in the list.
I've done this easily before using resources but I'm trying to do this programmatically on-the-fly. I can't seem to find the relevant message that sets this display rectange. I think what I need is the opposite of the CB_GETDROPPEDCONTROLRECT
Any pointers or advice would be appreciated.
Thanks.
I can create the combo box and add items to it and select, etc. etc. - the problem I have is that when I click on the arrow to display the choices, the list doesn't appear and I can only choose items one-by-one.
What I want is for the user to be able to click on the arrow and then have the list display say 5 or 6 items in the list.
I've done this easily before using resources but I'm trying to do this programmatically on-the-fly. I can't seem to find the relevant message that sets this display rectange. I think what I need is the opposite of the CB_GETDROPPEDCONTROLRECT
Any pointers or advice would be appreciated.
Thanks.