Jump to content
Sign in to follow this  
nht3004

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

Recommended Posts

nht3004

My question is on the title.

Thanks in advance!


for(loop=0; loop<infinity; loop++) { alert('I love you'); }

Share this post


Link to post
Share on other sites
jerem488

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]

Share this post


Link to post
Share on other sites
nht3004

THanks, perfect!


for(loop=0; loop<infinity; loop++) { alert('I love you'); }

Share this post


Link to post
Share on other sites
Exit

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()

My UDFs, Abbrevs and Snippets
If you like my post, just click the like button :) 

Share this post


Link to post
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
Sign in to follow this  

×