Jump to content

I want to create a form that fits fullscreen ( even over the taskbar)!


Recommended Posts

Hello,

I hope it suits you...

$hTaskbar_Wnd = WinGetHandle("[CLASS:Shell_TrayWnd]")

GUICreate("title",@DesktopWidth,@DesktopHeight+60, -1,-1, $WS_POPUP, $WS_EX_TOPMOST, $hTaskbar_Wnd)

GUISetState(@SW_SHOW) ; will display an empty dialog box

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()

    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GUIDelete()

Qui ose gagneWho Dares Win[left]CyberExploit[/left]

Link to comment
Share on other sites

Two includes where missing

#include <GuiConstants.au3>
#include <WindowsConstants.au3>
$hTaskbar_Wnd = WinGetHandle("[CLASS:Shell_TrayWnd]")
GUICreate("title",@DesktopWidth,@DesktopHeight+60, -1,-1, $WS_POPUP, $WS_EX_TOPMOST, $hTaskbar_Wnd)
GUISetState(@SW_SHOW) ; will display an empty dialog box
; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GUIDelete()

App: Au3toCmd              UDF: _SingleScript()                             

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...