Sign in to follow this  
Followers 0

[solved]Graphic problem.

1 post in this topic

#1 ·  Posted (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)

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

Func exits()

solved, forgot $GUI_GR_REFRESH...

Edited by toonboon

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

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  
Followers 0