Solved

How to add data to combox from resource editor.

Posted on 2001-07-01
8
295 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:jeremiahscott
8 Comments
 
LVL 2

Accepted Solution

by:
GloriousRain earned 50 total points
Comment Utility
"data
be entered into the combobox this way?
"->Yes, certainly. I don't know what happen with you?
0
 
LVL 2

Expert Comment

by:GloriousRain
Comment Utility
"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
 
LVL 2

Expert Comment

by:GloriousRain
Comment Utility
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
 
LVL 7

Expert Comment

by:peterchen092700
Comment Utility
...and remember, the "enter listbox items" does not work in in Win32- and ATL projects

Peter
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Expert Comment

by:pipe
Comment Utility
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
 
LVL 2

Expert Comment

by:GloriousRain
Comment Utility
After each line press Ctrl+Enter
0
 

Author Comment

by:jeremiahscott
Comment Utility
awesome, thanks! is there anyway to set the default value from the rs editor or do i have to do that programmactically?

0
 
LVL 2

Expert Comment

by:GloriousRain
Comment Utility
"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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now