Jump to content

Recommended Posts

Posted

I googled it forever and ever, searched through every result and none of it worked.

I just need to know how to make my GUI resizable, have a title bar on the top, and be maximizeable.

Posted (edited)

Remarks

By default the dialog box is non sizable and non maximizable. So WS_SIZEBOX or WS_MAXIMIZEBOX can be used in the style parameter.

As defining only one style just set this style don't forget to combine it with default ones, i.e. just defining WS_SIZEBOX will not set WS_MINIMIZEBOX, WS_CAPTION, WS_POPUP, WS_SYSMENU. So the best method to define a resizeable window is to use WS_OVERLAPPEDwindow.

#include <GUIConstantsEx.au3>

#include <WindowsConstants.au3>

I believe those are the includes

Edited by Nunos

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...