How to Update the path of the file.....
-
Can somebody help me ...That how to update the file path in the combobox when user clicks on any item(file/folder) in the Listbox . Thanks Shikha
-
Can somebody help me ...That how to update the file path in the combobox when user clicks on any item(file/folder) in the Listbox . Thanks Shikha
Where are these items ? There's a selection changed event on the listbox, you can access the selected item from there and put it in the text of the combo box, assuming they are items in your form.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Where are these items ? There's a selection changed event on the listbox, you can access the selected item from there and put it in the text of the combo box, assuming they are items in your form.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
Thanks or ur reply... yes i agree with u that i set the selected item from the Listbox into combobox but if i need to retrieve that path from combobox what i will use ... that is now how i get the text from the combobox back ....if use getcurSel() what index does it return me or how i retrieve the text ... Thanks Shikha
-
Thanks or ur reply... yes i agree with u that i set the selected item from the Listbox into combobox but if i need to retrieve that path from combobox what i will use ... that is now how i get the text from the combobox back ....if use getcurSel() what index does it return me or how i retrieve the text ... Thanks Shikha
Shikha Jain wrote:
...if use getcurSel() what index does it return me...
The zero-based index of the currently selected item in the control.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
Shikha Jain wrote:
...if use getcurSel() what index does it return me...
The zero-based index of the currently selected item in the control.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
Replying to your message , it is not asked that what index does getcursel() return to me , but my question is with the context that i want the combobox to get update the path of the current item which get selected in the ListBox . Which way should i proceed... Thanks n Regards Shikha
-
Replying to your message , it is not asked that what index does getcursel() return to me , but my question is with the context that i want the combobox to get update the path of the current item which get selected in the ListBox . Which way should i proceed... Thanks n Regards Shikha
Shikha Jain wrote:
...it is not asked that what index does getcursel() return to me...
Actually, you did. However, if that's not what you meant to ask, please rephrase your question.
Shikha Jain wrote:
...i want the combobox to get update...
Populate a combobox using either
AddString()
orInsertString()
.Shikha Jain wrote:
...current item which get selected in the ListBox .
Which is obtained with
GetText()
.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb