Just1f Posted February 15, 2008 Share Posted February 15, 2008 (edited) Hello, I would like to have an AutoIT GUI window for an administrative tool to stay on top of my video game. Indeed when a window pops-up it actually minimizes the video game. When I go back on the video game it then hides the window. With ToolTip() functions I am able to output text upon the screen of the game, but now I want usersto be able to click on a menu or buttons during the time they have their game running. How to ? Thank you :-) Edited February 15, 2008 by Just1f Link to comment Share on other sites More sharing options...
Just1f Posted February 15, 2008 Author Share Posted February 15, 2008 refresh : any idea ? Link to comment Share on other sites More sharing options...
UnReAl Posted February 15, 2008 Share Posted February 15, 2008 (edited) Its easy : use the extended style $WS_EX_TOPMOST for your GUI, so its always on top. Example: $aGui = GUICreate( "Your GUI", 300, 250, -1, -1, -1, $WS_EX_TOPMOST) Edited February 15, 2008 by UnReAl Link to comment Share on other sites More sharing options...
Just1f Posted February 20, 2008 Author Share Posted February 20, 2008 Its easy : use the extended style $WS_EX_TOPMOST for your GUI, so its always on top. Example: $aGui = GUICreate( "Your GUI", 300, 250, -1, -1, -1, $WS_EX_TOPMOST) When I run my game in windowed mode, I have the tool on top if the screen using WS_EX_TOPMOST, but when I switch to fullscreen mode it then hides the tool's window. Maybe a Windows API can take control of overlapping windows even if they are on TOPMOST ? How to circumvent that ? 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