Sign in to follow this  
Followers 0
Triton

Sizable Window

4 posts in this topic

I can't seem to get the right styles together to make a sizable window. Can ne1 help?

:lmao:


Triton

Share this post


Link to post
Share on other sites



#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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thanks guys for your help!


Triton

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0