Sign in to follow this  
Followers 0
Zohar

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

2 posts in this topic

#1 ·  Posted (edited)

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

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  
Followers 0