Jump to content
Sign in to follow this  
Zohar

[Solved] How to Get the Parent Window of a Window?

Recommended Posts

Zohar

Let's say I open Notepad,

and then press Ctrl-S, which causes the SaveDialogWindow to open.

I then do WinGetHandle("") on urrent window(SaveWindow),

and then I need a function that will tell me who is the parent window of it...

Thank you

Edited by Zohar

Share this post


Link to post
Share on other sites
Zohar

oh

it's:

#Include <WinAPI.au3>

_WinAPI_GetParent($hWnd)

Share this post


Link to post
Share on other sites

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  

×