Sign in to follow this  
Followers 0
lucamad

Window minimum size

5 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Part of what WinGetPos returns is the size of a window, WinMove resizes, and/or moves, a window. At least, that's what the help file says..

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

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.

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