[python-win32] win32gui.SetPixel error

Michael C mysecretrobotfactory at gmail.com
Sat Apr 29 16:10:53 EDT 2017


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20170429/7dd23b97/attachment.html>


More information about the python-win32 mailing list