• Advertisement

Archived

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

Adding items to ComboBox (VS c/c++)

This topic is 5300 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

When I add data (in the form of strings) to my combobox with: SendMessage(comboPointer, CB_ADDSTRING, 0, "DCPU"); I get multiple items DCPU instead of just one. Does anyone know where this code should be placed? It is currently placed at the top of the procedure for handling the dialog box. I also get compilation warnings about my "DCPU" being a string, but it should be a long. Can anyone help me? Thanks!

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement