Hi,

I am writing a Directory optimizer with the help of mouse. I didn't Know how i can get the file name and the path which is being pointed by the mouse or clicked by the mouse.For more detail i am giving here an example.

Let open the drive E:\ and point any file or folder,on pointing my program should return the path of pointed file or folder.

Waiting for your Kind and great Help.......

Thanks in advance.......

What are you using to display the directory/file (what control)?

I am not using any control to display the directory structure in list.I am here talking about the windows explorer.

Writing shell extensions in managed code is not recommended

commented: what is this, i am asking for events handling and this info is related to my question. +0
commented: onlinessp obviously didn't understand the post since this directly answers his question +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.