Jump to content
Sign in to follow this  
redndahead

Resizing a Gui window

Recommended Posts

redndahead

Is there a better way to resize a gui window without having to use winmove?

red

Share this post


Link to post
Share on other sites
Valik

Do you mean something like "GUIMove" ?

Maybe we need a new function...  :ph34r:

Anybody doing anything serious with a GUI should store the HWND returned by GuiCreate(). Then they can use that HWND with any of the Win* or Control* functions to do anything they want. I don't think wrapping some of the Win* functions is neccesary because there is a safe and easy way to use the already available functions.

Share this post


Link to post
Share on other sites
redndahead

Thanks cyberslug, but I don't want the user to be able to move it just my through my script. But maybe the Option idea will get rid of my problems with using winmove.

I just want it to look as good as when your changing tabs in a gui.

red

Share this post


Link to post
Share on other sites
redndahead

The winwait delay change made it just about perfect. Thanks

red

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.