Jump to content

[solved]Graphic problem.


toonboon
 Share

Recommended Posts

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 by toonboon

[right]~What can I say, I'm a Simplistic person[/right]

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