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 <mysecretrobotfact...@gmail.com>
wrote:

> fill the radar scan points with red.py", line 66, in <module>
>     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, rgb )
>
>
> I get the error message above. How can I fix this? Thanks!
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to