Re: [python-win32] win32gui.SetPixel error

2017-04-30 Thread Michael C
Oh I found out my code accidentally give negative values to the function. :( Thanks all! On Sat, Apr 29, 2017 at 1:10 PM, Michael C wrote: > fill the radar scan points with red.py", line 66, in > win32gui.SetPixel(desktop_dc, x,y, rgb ) > pywintypes.error: (0, 'SetPixel', 'No error message

[python-win32] win32gui.SetPixel error

2017-04-30 Thread Michael C
fill the radar scan points with red.py", line 66, in win32gui.SetPixel(desktop_dc, x,y, rgb ) pywintypes.error: (0, 'SetPixel', 'No error message is available') Hi all: I am trying to paint a few pixels in the color of red. However, when I ran this win32gui.SetPixel(desktop_dc, x,y