Sign in to follow this  
Followers 0
Justforfun

GUI Resizing

5 posts in this topic

I there away to make it when you click a button on the gui it will shrink from original size 450, 200 to like 50, 50 I have tried the guictrlsetpos and change the hieght and width at the end but no lick help please.

Share this post


Link to post
Share on other sites



First you say Window, and then Control. What is it you want to resize?

Window:

WinMove()

Control:

GUICtrlSetPos() OR ControlMove() depending on the situation.

Its the GUI window I want to click a button on the gui window and have it resize the gui window.

Share this post


Link to post
Share on other sites

So just WinMove() it then. Tell us if you need an example.

Edit:more words

No I understand how to do it I just didnt know what command to use. I have one button top right of my GUI window called shrink then the other button top left called grow. I have other buttons and sliders on my GUI window is ther any way to keep the shrink and grow buttons on top and visible when I shrink the window because when it shrinks all the buttons cram together and over lap so I cant see the grow button to get it back to original size. And thank you for your help so far if you know the command I can get it from there I looked in buttonconstants didnt see anything tried a windowconstant $WS_EX_TOPMOST but it didnt help mabye I am looking in the wrong area of the help file.

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