toonboon Posted November 28, 2008 Share Posted November 28, 2008 (edited) For some reason my coding isn't working. Am I really missing the point here or what? #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> HotKeySet("{5}", "exits") GUICreate("", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP) GUISetCursor(16, 1) $screen = GUICtrlCreateGraphic(0, 0, @DesktopWidth, @DesktopHeight) ;GUICtrlSetBkColor(-1, 0x000000) GUISetState() GUICtrlSetGraphic($screen, $GUI_GR_COLOR, 0xff0000, 0xff0000) GUICtrlSetGraphic($screen, $GUI_GR_LINE, 10, 50) GUICtrlSetGraphic($screen, $GUI_GR_LINE, 50, 10) MsgBox( 0,'','aye') While 1 Sleep(100) WEnd Func exits() Exit EndFunc solved, forgot $GUI_GR_REFRESH... Edited November 28, 2008 by toonboon [right]~What can I say, I'm a Simplistic person[/right] 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