AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Window does not show

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
corrupt



Joined: 29 Dec 2004
Posts: 2393

PostPosted: Wed Mar 28, 2007 6:56 am    Post subject: Window does not show Reply with quote

I have only tested this on Vista (beta) so far (AHK version: 1.0.46.10) but it seems like a possible bug. If +hide is specified as an option but an initial size is not specified for a window (height and width) the window does not get displayed using Gui, Show later in the code. The taskbar item is there but the window doesn't get displayed. Here's an example:
Code:
Gui, Show,+hide, test1
Gui, Show, h200 w200, test1
Specifying an intial size seems to work...
Code:
Gui, Show, h1 w1 +hide, test1
Gui, Show, h200 w200, test1
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Mar 28, 2007 12:35 pm    Post subject: Reply with quote

It seems to happen on XP too. The window behaves as though it's minimized.

I suspect this is a quirk of the OS. And since it only happens when the window is completely empty (i.e. of size zero, with no controls in it), it's probably too obscure to add extra code for.

In any case, it's good to have it mentioned here in case anyone else encounters it.

Thanks.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group