Jump to content

resizing gui


Recommended Posts

hm, i have a gui window and want to resize it with the winmove() function, but it don't works...

$PageGUI = GUICreate("PageGUI", @DesktopWidth, 615, 0, 65, $WS_CHILD, -1, $MainGUI)

GUISetState()

;... some code

WinMove("PageGUI", "", 0, 65, @DesktopWidth, 635)
Link to comment
Share on other sites

there are only inimportant things and it's too long... xD got near 1.000 lines

<{POST_SNAPBACK}>

It is certainly related with $WS_CHILD

the followinf work perfect

#include <GuiConstants.au3>
$PageGUI = GUICreate("PageGUI", @DesktopWidth, 615, 0, 65)

GUISetState()

;... some code

WinMove("PageGUI", "", 0, 65, @DesktopWidth, 235)

Sleep(5000)
Link to comment
Share on other sites

hm, thats bad, because i need the gui as a child...

<{POST_SNAPBACK}>

I don't say you cannot do that a child window. But your script cannot create just a child window as posted.

I think $WS_CHILD is not really needed just the parent reference. :)

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