Sign in to follow this  
Followers 0
MCP

How can I get a parent GUI coordinates?

2 posts in this topic

I have a function that creates a gui that I would like to have it centered on top of its parent window.

I do not know wich action is needed to retrieve the coordinates of a window I have created.

_WinAPI_SetParent(), _WinAPI_SetWindowPos(), GUICtrlSetPos() is all of what I have looked at, but

no instruction seems to fit the case.

Isn't there anything sounding like GUIGetCoord($hWnd) / GUISetCoord($i_X, $i_Y) ?

Share this post


Link to post
Share on other sites



Retrieves the position and size of a given window.

WinGetPos ( "title" [, "text"] )

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