forever Posted February 15, 2005 Share Posted February 15, 2005 How can i get the current position (left, top) from a picture? created like this : $basti = GUICtrlCreatePic ("images\l_st.gif", 770, 220, 14, 80) Link to comment Share on other sites More sharing options...
SlimShady Posted February 15, 2005 Share Posted February 15, 2005 This should work. $Img_Pos = ControlGetPos("", "", $basti) It's better to specify the GUI title or handle. Example: $GUI_handle = GUICreate('Some GUI') $Img_Pos = ControlGetPos($GUI_handle, "", $basti) Link to comment Share on other sites More sharing options...
forever Posted February 15, 2005 Author Share Posted February 15, 2005 thx Link to comment Share on other sites More sharing options...
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