fRequEnCy Posted October 5, 2008 Share Posted October 5, 2008 I'm creating a GUI which blacks out the whole screen and runs an app in the background. Now it creates and hides just fine but when I run the app the taskbar shows for a brief second. I don't wanna hide the taskbar the other way by hiding it in case my wrapper gets closed before it's called back cuz then the taskbar is left hidden. Here's my code for creating the gui: $hideOS = GUICreate("", @DesktopWidth + 20, @DesktopHeight + 20, 0, 0, $WS_POPUP, $WS_EX_TOPMOST, 0) GUISetBkColor(0x000000) GUISetState() When I change either the left or top value then I get the results I want other than now I see the OS (just a 1px line): $hideOS = GUICreate("", @DesktopWidth + 20, @DesktopHeight + 20, 0, 1, $WS_POPUP, $WS_EX_TOPMOST, 0) GUISetBkColor(0x000000) GUISetState() Now the 0, 0 values work for a friend of mine on his system yet not on mine. I'm trying to get this done to work universally. Any ideas? Link to comment Share on other sites More sharing options...
scriptjunkie Posted October 7, 2008 Share Posted October 7, 2008 Works fine for my pc. Link to comment Share on other sites More sharing options...
Cdma1X Posted October 7, 2008 Share Posted October 7, 2008 the another pc you are using to test this code have different screen size. Link to comment Share on other sites More sharing options...
crzftx Posted October 7, 2008 Share Posted October 7, 2008 why don't you use something like this then: $hideOS = GUICreate("", @DesktopWidth + 20, @DesktopHeight + 20, -10, -10, $WS_POPUP, $WS_EX_TOPMOST, 0) GUISetBkColor(0x000000) GUISetState() 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