lionfaggot 2 Posted February 3, 2011 func _msgcls() if WinExists("poop", "") = 1 Then $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then GUISetState(@SW_HIDE) EndIf endif endfunc when i compile it tells me $GUI_EVENT_CLOSE isnt declared, but i dunno why i should have to declare this when its you know, $GUI_EVENT_CLOSE isnt a variable is this a bug i found or am i doing something wrong? Share this post Link to post Share on other sites
hannes08 39 Posted February 3, 2011 Hi lionfaggot, no need to double-post this... The answer to your question is in the other post. Regards, Hannes Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Share this post Link to post Share on other sites
lionfaggot 2 Posted February 3, 2011 i edited this post and it double posted LOL Share this post Link to post Share on other sites