KenNichols Posted June 19, 2009 Share Posted June 19, 2009 Is there a function for GUICtrlGetPos or GUICtrlSetSize? I need to get the position of a label and I need to change it's size with out recreating it. Can this be done? [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2009 Share Posted June 19, 2009 Well close... ControlGetPos() ControlMove() See help 8) Link to comment Share on other sites More sharing options...
KenNichols Posted June 20, 2009 Author Share Posted June 20, 2009 Well close...ControlGetPos()ControlMove()See help8)Thanks, taking a look now. [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
ProgAndy Posted June 20, 2009 Share Posted June 20, 2009 To set the pos, there is als the function GUICtrlSetPos *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
BNFTD Posted July 8, 2009 Share Posted July 8, 2009 The most simple solution is: WinMove ($MyWindowHandle, "", -1, -1, $NewHorizontalSize, $NewVerticalSize) 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