lucamad Posted October 16, 2010 Share Posted October 16, 2010 (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 October 16, 2010 by lucamad Link to comment Share on other sites More sharing options...
somdcomputerguy Posted October 16, 2010 Share Posted October 16, 2010 (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 October 16, 2010 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
UEZ Posted October 16, 2010 Share Posted October 16, 2010 (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 April 23, 2011 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 More sharing options...
lucamad Posted October 17, 2010 Author Share Posted October 17, 2010 (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 October 17, 2010 by lucamad Link to comment Share on other sites More sharing options...
martin Posted October 17, 2010 Share Posted October 17, 2010 (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 October 17, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now