Jump to content
Sign in to follow this  
limelect

change the path to an existing windows explorer

Recommended Posts

Just an idea:

The IShellBrowser interface has a method

GetControlWindow

which you can use to get the window handle of a control inside the browser.  You should be able to  use the GetAncestor API function with the GA_ROOT flag with this handle to find the Explorer window itself, and then you can use the SetForegroundwindow API function on that to bring it to front.

Share this post


Link to post

@PeterBelow  Thank you  what i did in the above program just added 2 lines

 

              findexpl:=GetAncestor(WebBrowserApp.HWnd,GA_ROOT);
              SetForegroundwindow(findexpl);
 

  • Like 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×