Sign in to follow this  
Followers 0
Lord_Doominik

resizing gui

7 posts in this topic

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)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Could you post the full script so we can help you better?

Thanks.

-SolidSnake

Edited by SolidSnake

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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. :)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

ahm... it's for a browser... the pagegui is in the maingui, and so i think i need $WS_CHILD... instead there will be a new guiwindow...

:)

Edited by Lord_Doominik

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