BitByteBit Posted November 17, 2009 Posted November 17, 2009 (edited) I have a gui, on button click I want to increase the size. I've looked through the help file, googled and searched the forums. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1_1 = GUICreate("MTSE 2", 370, 55, 303, 71) GUISetBkColor(0x000080) $TP = GUICtrlCreateButton("TP", 75, 30, 75, 25, $WS_GROUP) GUICtrlSetBkColor (-1, 0x000080) GUICtrlSetFont(-1, 12, 400, 4, "Palatino Linotype") GUICtrlSetColor(-1, 0xFFFFFF) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $TP TP() EndSwitch WEnd Func TP() $Form1_1 = GUICreate("MTSE 2", 684, 476, 0, 0) ;This doesn't work, obviously, it just creates a new window GUISetState(@SW_SHOW) EndFunc Edited November 17, 2009 by BitByteBit
BitByteBit Posted November 17, 2009 Author Posted November 17, 2009 I found the command, just incase anybody finds this topic, you can use WinMove to resize.
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