Mr. Crimson Posted September 20, 2005 Posted September 20, 2005 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
Mr. Crimson Posted September 20, 2005 Author Posted September 20, 2005 (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 September 20, 2005 by Mr. Crimson
Mr. Crimson Posted September 20, 2005 Author Posted September 20, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now