Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


using combo boxes in an MFC app

This topic is 5393 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i am at a total loss here. perhaps its because i lack any formal training but the MSDN explaination of using a combo box (ie the little box thing with a list of strings that you click and it drops down the strings and lets you select one) makes no sense whatsoever. i created the combo box inside the dialog (with the dialog editor). but how do i add items at run time? and then how do i get the text that is currently selected? MSDN said something about creating a CComboBox object and using the Create method to create the combo box... but i already created it... its right there in the dialog... theres probably some concept im overlooking or missing here because this seems like it should be easy as pie. i usualy stick to c++ but ive done stuff like this in VB and its EASY... Bungo!

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!