Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

GUISetState($login, @SW_SHOW) Not working.

$
0
0
Hello all, I am working on a rather large project, many thousands of lines of code, so if possible I will try to ask my question in the simplest way possible, to get the best answer.
 
I have two GUIs, when the second one pops up it hides the first one, and when it;s closed, it's supposed to show the original window again.
 
Below is my simple code for this process
 
Func showloginwindow() GUISetState($login, @SW_SHOW) EndFunc Func hideloginwindow() GUISetState($login, @SW_HIDE) EndFunc

It seems to hide the window perfectly fine, but will not show it again afterwards, I have even set a hotkey to try to manually force the window to re-appear, but with no luck.

 

Is there something wrong with my code, or a better way of going about this?

 

If my code above isn't useful for help please let me know and I'll try to make a small example demonstrating the error I am encountering.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>