Jump to content
Sign in to follow this  

GUI control resizing...

Recommended Posts


how do you make a resizable control inside a GUI window? I've tried $WS_SIZEBOX but it doesnt work. help would be appreciated. thanx!


i own this sig... php rulezlinks:My PSP Web Portal

Share this post

Link to post
Share on other sites

You could use Opt("GUIResizeMode", < 1024) and you could use GuiCtrlSetResizing(controlId, resizing)

where resizing is

$GUI_DOCKAUTO 1 resize and reposition according to new window size

$GUI_DOCKLEFT 2 Left side

$GUI_DOCKRIGHT 4 Right side

$GUI_DOCKHCENTER 8 Position will not move relative to horizontal center

$GUI_DOCKTOP 32 Top side

$GUI_DOCKBOTTOM 64 Bottom side

$GUI_DOCKVCENTER 128 Position will not move relative to vertical center

$GUI_DOCKWIDTH 256 Width will not change

$GUI_DOCKHEIGHT 512 Height will not change

$GUI_DOCKSIZE 768 Size will not change (256+512)

$GUI_DOCKMENUBAR 544 512+32 so the control will stay on the top of window with no changing Height

$GUI_DOCKSTATEBAR 576 512+64 so the control stay at the bottom of the window with no changing Height

$GUI_DOCKALL 802 2+32+256+512 so the control will not move during resizing


got it from the help file.

F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.