Jump to content

How can I get a parent GUI coordinates?


MCP
 Share

Recommended Posts

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) ?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...