MCP Posted December 1, 2007 Posted December 1, 2007 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, butno instruction seems to fit the case.Isn't there anything sounding like GUIGetCoord($hWnd) / GUISetCoord($i_X, $i_Y) ?
Generator Posted December 1, 2007 Posted December 1, 2007 Retrieves the position and size of a given window. WinGetPos ( "title" [, "text"] )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now