title: win32gui.GetPixel() not working: pywintypes.error: (0, 'GetPixel', 'No error message is available')
body: <p>In my own pysimplegui program, and others, every time I use GetPixel, I get the error: pywintypes.error: (0, 'GetPixel', 'No error message is available').</p>
  <pre><code>while True:                             # The Event Loop
  event, values = window.read()
  hwnd = win32gui.FindWindow(None, 'Window that stays open')
  rgbint2rgbtuple(win32gui.GetPixel(hwnd, 100, 100))
  
  print(event, values)
  if event == sg.WIN_CLOSED or event == 'Exit':
      break
  </code></pre>
  <p>the only time it didn't crash was with google chrome, but it gave the wrong RGB values. Any ideas?</p>