Triton Posted February 3, 2005 Posted February 3, 2005 I can't seem to get the right styles together to make a sizable window. Can ne1 help? Triton
CyberSlug Posted February 3, 2005 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!
jpm Posted February 3, 2005 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
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