Sign in to follow this  
Followers 0
AustrianOak

shrink a window?

5 posts in this topic

#1 ·  Posted (edited)

is there some sort of way to make a shrink a window by using WinMove but not shrink it in a way whree everything gets crunched together. My goal is to resize the window where only certain controls are seen and the rest disappears but its just cramming everything into one spot.

please help

really stumped...

Edited by nowagain

Share this post


Link to post
Share on other sites



E.g. you want all the GUI controls to be "locked" into position? Try use GUICtrlSetResizing with the $GUI_DOCKALL parameter.

Share this post


Link to post
Share on other sites

will do

Share this post


Link to post
Share on other sites

and if im docking all my controls would it be like this:

GUICtrlSetResizing($IcoGui, $GUI_DOCKALL)

$IcoGUI is the handle to my window and its still cramming everything together...

Share this post


Link to post
Share on other sites

and if im docking all my controls would it be like this:

GUICtrlSetResizing($IcoGui, $GUI_DOCKALL)

$IcoGUI is the handle to my window and its still cramming everything together...

That only sets the resizing for a single control, to set the default for the whole GUI use:
Opt("GUIResizeMode", $GUI_DOCKALL)

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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