Jump to content

Window minimum size


lucamad
 Share

Recommended Posts

Hi guys! ;)

I've a window that allow users to resize it. Is possible to define a minimum width and height? I'd like that my window does not become too small (because the controls overlap itself).

Thanks to all, I hope you can help me!

Regards

Edited by lucamad
Link to comment
Share on other sites

I wrote a simple GDI+ clock where you can resize the window which has limits in resizing:

Maybe it is usefull for you!

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I wrote a simple GDI+ clock where you can resize the window which has limits in resizing:

[...]

Maybe it is usefull for you!

Br,

UEZ

Yes, thanks! The WM_GETMINMAXINFO works great for me ;)

In AutoIt help there aren't info about "Windows message codes" and meaning of parameters, but only some examples. What should I do to find more information about this Windows GUI default functions and codes? Where did u learn?? I've found this, but the functions parameters are different...

Edited by lucamad
Link to comment
Share on other sites

Yes, thanks! The WM_GETMINMAXINFO works great for me ;)

In AutoIt help there aren't info about "Windows message codes" and meaning of parameters, but only some examples. What should I do to find more information about this Windows GUI default functions and codes? Where did u learn?? I've found this, but the functions parameters are different...

The help has a list of windows messages (search for "Windows Messages")

This is the place to learn about them.

For individual controls you can find all the information about notifications and messages here.

Edited by martin
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
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
 Share

  • Recently Browsing   0 members

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