Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function to enumerate all open Windows Explorer Instances, including the path that is selected #469

Closed
tajbender opened this issue Jul 8, 2024 · 5 comments

Comments

@tajbender
Copy link
Contributor

Is your feature request related to a problem? Please describe.

No.

Describe the additions or enhancements you'd like

Some years ago, I found a Function to enumerate every Windows Explorer. A want to add this existing function to Vanara Shell32 Package

Previous work
If work on these imports have been done, please provide links.

Somewhere in the depth of https://github.com/electrifier/Classic-electrifier. 🍪

Regards,
tajbender

@dahall
Copy link
Owner

dahall commented Oct 11, 2024

Couldn't you do this with a combination of GetDesktopWindow and EnumChildWindows looking for the registered window class of Explorer?

@tajbender
Copy link
Contributor Author

tajbender commented Oct 12, 2024

Couldn't you do this with a combination of GetDesktopWindow and EnumChildWindows looking for the registered window class of Explorer?

Yes, that is exactly what the snippet does. Found it 10+ years in an MSDN-Article.
As far as I remember, it even extracted the folder that it is showing...

I still have the code, just gimme some time 😁

@tajbender
Copy link
Contributor Author

tajbender commented Oct 15, 2024

For someone's Reference:

This thing enumerates the Desktop Icons 🚀

dahall pushed a commit that referenced this issue Oct 16, 2024
@dahall
Copy link
Owner

dahall commented Oct 16, 2024

I got IShellWindows.FindWindowSW working. See implementation in unit tests.

@tajbender
Copy link
Contributor Author

Wow, this is rocket science 🚀 🎸

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants