Sign in to follow this  
Followers 0
Mr. Crimson

GUI Infinitely Tall?

3 posts in this topic

This has to be something I'm doing wrong, but has anybody else come across an occasional issue where the GUI height becomes, from what I can tell, infinitely tall? The weird thing is, is that usually just removing a commented line will fix it, but it may be that any change to the file "fixes" it. To further complicate things sometimes it will affect one machine and not others, even when on the same OS, (XP).

Please tell me I'm not going crazy. I hope I'm just doing something dumb, like usual. ;)

-Crim

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

considering there is no code snippit to help us reproduce and debug... I think dumb is probably the answer.

There must be a variable involved... We'll need to see the GUICreate() at least.

Lar.

Larry-

Here you go:

GUICreate("Action Code Inputter", 225, 620, -1, -1, $WS_MINIMIZEBOX, $WS_EX_TOPMOST)

Like I said, it works fine generally, but I do tweaks to it all the time and occasionally it'll become crazy big in height.

Thanks!

-Crim

Edited by Mr. Crimson

Share this post


Link to post
Share on other sites

Yep, occasionally, (it's around 1500 lines right now for the code that interacts with the windows).

Func _Hider()
    If $docked = 0 Then
        WinMove("Action Code Inputter", "", @DesktopWidth-280, 0)
        $docked=1
    ElseIf $docked = 1 Then
        WinMove("Action Code Inputter", "", @DesktopWidth-280, -1000)
        $docked=0
    EndIf
EndFunc

and

WinMove("Action Code Inputter", "", @DesktopWidth-280, 0)

Would using the negative coords to hide the GUI window make it prone to this issue? Or could it be something else?

Thanks Larry!

-Crim

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