Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box Problem

Status
Not open for further replies.

buzznick

IS-IT--Management
Dec 29, 2004
39
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top