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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo box not working 1

Status
Not open for further replies.

balajee

Programmer
Joined
Jun 29, 2000
Messages
134
Location
NZ
Hi

I am learning visula C++. I am trying load a combo box using the the Data tab on the properties dialog. I have added 3 items in this Data tab. However when I run the application and try to click on the down arrow of the combo box, I do not get a drop down list. The combo box is blank.
Its such a simple task but cannot see why its not working.

Any suggestions?

Thanks
 
Is it a MFC program you're writing? The data tab only works when using MFC (it is MFC functionality, not Combo box functionality). If you're not using MFC, you must fill the combobox yourself when processing the WM_INITDIALOG message.

Marcel
 
Hi

Thanks. I found the problem. I had not extended the combo box height at all hence probably there was no space for the items to show themselves. After extending it worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top