Jump to content

Want to reduce window size


Recommended Posts

I will improve the example if I have time.

#include <GuiConstants.au3>

$must_be_larger_than_titlebar_height = 40

$GUI = GuiCreate("No minimum size!", 1, $must_be_larger_than_titlebar_height , -99, -99, BitOr($WS_THICKFRAME))
WinMove($GUI,"", (@DesktopWidth-300)/2, (@DesktopHeight-200)/2, 300, 200)

While GuiGetMsg() <> $GUI_EVENT_CLOSE
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

:D Thanks for you responce - that worked alright but a little ord way around but I have another problem now...

How do I get return events or messages when the window has resized - is there a nice way to this like @GUI_Resized incl. new size variables or do I have to check durring runtime msg...

Kåre :)

Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...