Sign in to follow this  
Followers 0
HeidiR

GUICreate window smaller when using style

3 posts in this topic

I have noticed that the height of a GUI windows shrinks slightly when using a style as opposed to not using a style. The code below shows the results. Is this normal AutoIt bahavior?

CODE
$w1=GUICreate("Win1", 100, 100, 200, 200, 0x000F0000) ;resizable, min and max buttons

$w2=GUICreate("Win2", 100, 100, 320, 200) ;not resizeable

GUISetState(@SW_SHOW, $w1)

GUISetState(@SW_SHOW, $w2)

msgbox(0,"","close")


HeidiRFind free applications, code examples and more on my site at:http://heidisdownloads.com/

Share this post


Link to post
Share on other sites



Yes, depending on the style. What is that style exactly? 0x000F0000 doesn't explain very well, you should be using the constants.

Share this post


Link to post
Share on other sites

Thanks for the info. The style is resizable, min and max buttons as noted by the comments.


HeidiRFind free applications, code examples and more on my site at:http://heidisdownloads.com/

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