5 Replies - 512 Views - Last Post: 16 February 2013 - 06:46 PM Rate Topic: -----

#1 f_lower  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 4
  • Joined: 15-February 13

Retrieving a window shell path by handle

Posted 15 February 2013 - 10:29 AM

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
Is This A Good Question/Topic? 0
  • +

Replies To: Retrieving a window shell path by handle

#2 tycos  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 53
  • Joined: 12-February 13

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.
Was This Post Helpful? 0
  • +
  • -

#3 f_lower  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 4
  • Joined: 15-February 13

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.
Was This Post Helpful? 0
  • +
  • -

#4 tycos  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 53
  • Joined: 12-February 13

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
Was This Post Helpful? 0
  • +
  • -

#5 f_lower  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 4
  • Joined: 15-February 13

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).
Was This Post Helpful? -1
  • +
  • -

#6 f_lower  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 4
  • Joined: 15-February 13

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 :winkiss:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1