TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
scyphe666
NA
48
0
How to get ComboBox to remember and reflect last choice
May 17 2004 12:18 PM
Hi. I've got a problem with my ComboBox (containing a list of all available logical drives) that won't remember my last selection, ie. : The combobox lists C:\ through F:\ I select D:\ and the rest of the program reflects it etc. but the combobox will still read C:\ with the SelectedIndex on C:\. in the SelectionChangeCommited-event: m_Current = m_DriveList[cmbDrives.SelectedIndex]; gets me the right driveletter etc. but stays at index 0 (C:\) any ideas? I've tried to set the SelectedIndex, but that doesn't do anything, it still stays on C:\ (index 0)
Reply
Answers (
2
)
Combo box selected index
How to increase width of Title bar of a form