Triton Posted February 3, 2005 Share Posted February 3, 2005 I can't seem to get the right styles together to make a sizable window. Can ne1 help? Triton Link to comment Share on other sites More sharing options...
CyberSlug Posted February 3, 2005 Share Posted February 3, 2005 #include <GuiConstants.au3> $style = BitOr($WS_POPUP, $WS_CAPTION, $WS_SYSMENU, $WS_MINIMIZEBOX, $WS_THICKFRAME);0x94CE0000 ; If you also want the maximize button enabled, then you could say ; $style = BitOr($style, $WS_MAXIMIZEBOX) GuiCreate("example", 300, 200, 10, 10, $style) GuiSetState() While GuiGetMsg() <> -3 WEnd Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
jpm Posted February 3, 2005 Share Posted February 3, 2005 THere is a new constant that reflect the default value so you bcan use now BitOr($GUI_SS_DEFAULT_GUI, addstyle, ...) addstyle being $WS_SIZEBOX Link to comment Share on other sites More sharing options...
Triton Posted February 3, 2005 Author Share Posted February 3, 2005 Thanks guys for your help! Triton 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