Jump to content

GuiCreate giving different results on 2 different systems.


fRequEnCy
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...