How to add data to combox from resource editor.

hello-

when i right click on my combo box from the resource editor and go to the properties under data is says 'enter listbox items'. when i do this nothing shows up in the combobox when i run the program. can data be entered into the combobox this way?


thanks - js
jeremiahscottAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GloriousRainConnect With a Mentor Commented:
"data
be entered into the combobox this way?
"->Yes, certainly. I don't know what happen with you?
0
 
GloriousRainCommented:
"right click on your combo box from the resource editor and go to the properties under data is says
'enter listbox items'."->Put your data then click on the down button of your combo box->enlarge the vertical size of your combo box's pulldown list
0
 
GloriousRainCommented:
Tip:
When adding a combo box control to the window, it is important that you click and drag the area for the control as large as you want the drop-down list to be. After you draw the control on the window, you can resize the width of the control as you would normally expect to do. To resize how far the list drops down you need to click the arrow, as if you were trying to trigger the drop-down list while the application was running.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
peterchen092700Commented:
...and remember, the "enter listbox items" does not work in in Win32- and ATL projects

Peter
0
 
pipeCommented:
ok, my first problem was that the dropdown part of the list was 0. i made that bigger now. i have entered in a string such as one,two,three. how do i get these on diffrent lines in the combobox now?
0
 
GloriousRainCommented:
After each line press Ctrl+Enter
0
 
jeremiahscottAuthor Commented:
awesome, thanks! is there anyway to set the default value from the rs editor or do i have to do that programmactically?

0
 
GloriousRainCommented:
"is there anyway to set the default value from the rs editor?"->Yes. Open the properties dialog for the combo box that you placed on the window. On the Data tab of the properties dialog, enter the values, using a Control+Enter key combination to add the second and third items...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.