fmen Posted January 12, 2006 Share Posted January 12, 2006 No matter how small I make the $Width_01, the Gui's smallest actual width is never less than around 200. What am I doing wrong? Thanks. #include <GUIConstants.au3> $Title_01 = "Me" $Width_01 = "50" $Height_01 = "400" $Xcoord_01 = "1000" $YCoord_01 = "150" $Create_01 = GuiCreate( $Title_01, $Width_01, $Height_01, $Xcoord_01,$Ycoord_01,$WS_MINIMIZEBOX+$WS_SIZEBOX) GUISetState () WinSetOnTop("Me", "", 1) GUISetBkColor (0xFFFFFF) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Link to comment Share on other sites More sharing options...
Valik Posted January 12, 2006 Share Posted January 12, 2006 What version of AutoIt are you using? It sizes correctly for me using 3.1.1.101 (Beta). Link to comment Share on other sites More sharing options...
fmen Posted January 12, 2006 Author Share Posted January 12, 2006 What version of AutoIt are you using? It sizes correctly for me using 3.1.1.101 (Beta).I am not using the beta version. You mean that the regular version has a size limitation? Link to comment Share on other sites More sharing options...
Holger Posted January 12, 2006 Share Posted January 12, 2006 (edited) It's a limitation with using the 'closing box' and/or the WS_SIZEBOX-style. You can try this: ... $Create_01 = GuiCreate( $Title_01, $Width_01, $Height_01, $Xcoord_01,$Ycoord_01,BitOr($WS_CAPTION, $WS_POPUP, $WS_DLGFRAME)) ... Edited January 12, 2006 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
fmen Posted January 13, 2006 Author Share Posted January 13, 2006 It's a limitation with using the 'closing box' and/or the WS_SIZEBOX-style. You can try this: ... $Create_01 = GuiCreate( $Title_01, $Width_01, $Height_01, $Xcoord_01,$Ycoord_01,BitOr($WS_CAPTION, $WS_POPUP, $WS_DLGFRAME)) ... The width works bow. Is there any way I can get the resizing function back? 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