Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I need a list control in which, if click on a list item it has to show an edit box
with file path on it and a button to browse the file system..i am not able to get how to insert this type contol.Please give some suggestions.

Thanks,
venkatanarayana makam
Updated 25-Jan-11 1:10am
v2

 
Share this answer
 
 
Share this answer
 
Comments
But the example does not contain provision for selecting a file.
Malli_S 27-Jan-11 5:32am    
But you can use the sample to show up the edit box in the list item and then show up the file path dialog.
Is showing up the file path dialog really your problem ?
Hi i uploaded a photo which explain exactly what i want.Please check the link, http://imageupload.org/?di=0129646471416
Malli_S 2-Feb-11 3:02am    
Your link isn't working. It says no image.
sorry for invalid link, i hope this link fill show you the picture,
http://www.imgplace.com/viewimg156/7676/54505935.png
Couldn't you just use CFileDialog for your purposes? Have your CListCtrl button (next to the filepath) open up a CFileDialog?
 
Share this answer
 
You can use CVSListBox Class.
for more info http://msdn.microsoft.com/en-us/library/bb984191.aspx
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900