Click here to Skip to main content
16,020,315 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!

I am working on Language lab application , for tracking the student I have created windows user control. I want selection feature on the control as folder or file selected and deselected in the windows explorer .How i can do this

Please help me!
Posted
Comments
Sergey Alexandrovich Kryukov 29-Apr-11 1:17am    
Tag it! Forms, WPF, ASP.NET, what?!
The question makes no sense unless you explain what are the object to be selected and what is the required result of selection -- ability to work with clipboard, control of something, etc...
--SA

A "selection feature" on Windows Explorer already exist. You cannot add it once again, no matter how hard you try. :-).

If you mean to create your own File Manager, there is a slightly different reason why you cannot implement a selection feature. You will almost inevitably use controls like TreeView, ListView or ListBox. Again, no luck! They all have selection feature already implemented. Only if you want to implement your own controls you could implement selection. I see no sense in giving you any advice: by the moment you implement everything else and when it comes to selection, you will gain so much experience that you most likely won't ask such question here at CodeProject. Also, the answer depends on what library you want to use — System.Windows.Forms, WPF or something else. (Next time, tag your Question in full.)

So, what can you do? If you really want to develop some selection feature, develop some other kind of software, vector or pixel graphics, for example; then you will really need to implement such feature. :-)

—SA
 
Share this answer
 
v2
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Apr-11 1:40am    
My 5 for good references.
Unfortunately, there is no way you can help OP to add "selection feature" :-)

I explain why in my answer, please see :-)
--SA

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