KenNichols Posted June 19, 2009 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!
Valuater Posted June 19, 2009 Posted June 19, 2009 Well close... ControlGetPos() ControlMove() See help 8)
KenNichols Posted June 20, 2009 Author 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!
ProgAndy Posted June 20, 2009 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
BNFTD Posted July 8, 2009 Posted July 8, 2009 The most simple solution is: WinMove ($MyWindowHandle, "", -1, -1, $NewHorizontalSize, $NewVerticalSize)
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