I have a weird bug, if i wanna set pixels to a graphic, it skips parts.

the blue area is the graphic.
but it just doesnt set pixels in the red part.
this is with all my scripts with a graphic.
Kip
Posted 15 September 2007 - 12:28 PM
Posted 16 September 2007 - 08:43 AM
Posted 16 September 2007 - 08:46 AM
#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.8.1 Author: myName Script Function: Just move the custom cursor over the window, and youll see my problem #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include <GUIConstants.au3> $GUI = GUICreate("OSdesign",@DesktopWidth/2,@DesktopHeight/2,-1,-1,$WS_POPUP) GUISetBkColor(0xeeeeee) GUISetCursor(16,1) $MOUSE_GRAPHIC = GUICtrlCreateGraphic(0,0,12,12) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_COLOR,0x000000) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,0) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,1,0) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,1) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,2) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,3) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,4) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,5) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,6) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,7) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,8) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,0,9) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,1,9) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,2,8) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,3,7) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,4,7) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,5,7) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,6,7) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,7,7) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,7,6) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,6,5) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,5,4) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,4,3) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,3,2) GUICtrlSetGraphic($MOUSE_GRAPHIC,$GUI_GR_PIXEL,2,1) GUISetState(@SW_SHOW) While 1 $MousePos = GUIGetCursorInfo($GUI) GUICtrlSetPos($MOUSE_GRAPHIC,$MousePos[0],$MousePos[1]) Sleep(10) WEnd
Posted 16 September 2007 - 08:51 AM
Posted 16 September 2007 - 12:30 PM
Posted 16 September 2007 - 05:20 PM
So you can understand why it is important to follow sticky directives.ok, it does work on XP, but doesnt work on Vista
Posted 17 September 2007 - 09:33 AM
rightsorry (you mean the os, autoit version, etc. right?)
Posted 28 December 2007 - 02:44 PM
Posted 12 January 2008 - 12:42 AM
Posted 12 January 2008 - 09:31 PM
No I am running with Classic. I hope you did understood that the custom cursor is not paint in the read area.I can't reproduce this on Vista running under VMware. Does it require Aero to be enabled? I see nothing out of the ordinary using a non-Aero theme.
Posted 12 January 2008 - 09:40 PM
Posted 13 January 2008 - 10:39 AM
Can Jos/jon check about this?Cursor is painted fine for me no matter where it's at in the GUI.
Posted 13 January 2008 - 11:05 AM
Visit the SciTE4AutoIt3 Download page for the latest versions Forum Rules
Live for the present,
Dream of the future,
Learn from the past.
Posted 13 January 2008 - 06:00 PM
at least you and Valik using VMware get same result.I don't get it in my VMware Vista instance...
Posted 13 January 2008 - 09:40 PM
Are You running Classic theme?Cursor looks OK here.
0 members, 0 guests, 0 anonymous users