Jump to content

GUI Resizing


Recommended Posts

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

Window:

WinMove()

Control:

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

Link to comment
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.

Link to comment
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.

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...