I've been looking for info on the web for several hours, but nothing that can help me.
My question is:
if I have a shell window browsing a folder, open on the desktop, can I know by its handle the complete path it is pointing to?
Thank you sirs
Retrieving a window shell path by handle
Page 1 of 15 Replies - 194 Views - Last Post: 16 February 2013 - 06:46 PM
Replies To: Retrieving a window shell path by handle
#2
Re: Retrieving a window shell path by handle
Posted 15 February 2013 - 04:21 PM
Do you mean Shell.BrowseForFolder? Can you paste some of your code so I can see what you have tried so far.
#3
Re: Retrieving a window shell path by handle
Posted 15 February 2013 - 06:51 PM
Absolutely no.
I'm just trying to catch the path of a normal opened window of explorer.
Imagine you are on your desktop you doble click on a folder and an explorer window pop-up...
I want simply (but it seem very difficult or impossible to do) to hook information about the path of that folder as i can get information on process, handle, pid etc.
I've tryied to do this through Shell.Application.Namespace method but it doesn't work.
Have you never faced this problem? Can I find a solution to grab this info from the system?
Any help would be great, thank you.
I'm just trying to catch the path of a normal opened window of explorer.
Imagine you are on your desktop you doble click on a folder and an explorer window pop-up...
I want simply (but it seem very difficult or impossible to do) to hook information about the path of that folder as i can get information on process, handle, pid etc.
I've tryied to do this through Shell.Application.Namespace method but it doesn't work.
Have you never faced this problem? Can I find a solution to grab this info from the system?
Any help would be great, thank you.
#4
Re: Retrieving a window shell path by handle
Posted 16 February 2013 - 04:54 AM
What is the purpose of your application? I don't want to help with anything malicious
#5
Re: Retrieving a window shell path by handle
Posted 16 February 2013 - 04:25 PM
Ehi, don't wast my time for playing with someone else's stuff. I'm not planning nothing malicius but an utility for windows users.
Welcome is who can give any hint to me (even if I thing to be in the right way for solution of the trouble as good).
Welcome is who can give any hint to me (even if I thing to be in the right way for solution of the trouble as good).
#6
Re: Retrieving a window shell path by handle
Posted 16 February 2013 - 06:46 PM
Got it through windows classes child structure and sendmessg interrogation. Easy work!
thanks even no help was given
thanks even no help was given
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|