Leopardfist Posted October 7, 2013 Share Posted October 7, 2013 Hi, I tried setting my GUI to be "always on top" window by using this code below, but it isnt working. Can anyone tell me what I did wrong? global $main=guicreate("test", 300, 80, 50, 10, -1, "$WS_EX_TOPMOST") Link to comment Share on other sites More sharing options...
allSystemsGo Posted October 7, 2013 Share Posted October 7, 2013 (edited) The style does not need quotation marks. (edit: also make sure to include windowsconstants.au3 in your script.) It should read #include <WindowsConstants.au3> global $main=guicreate("test", 300, 80, 50, 10, -1, $WS_EX_TOPMOST) Edited October 7, 2013 by allSystemsGo Link to comment Share on other sites More sharing options...
Leopardfist Posted October 7, 2013 Author Share Posted October 7, 2013 awesome! THANKS! Link to comment Share on other sites More sharing options...
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