Guest User

Untitled

a guest
Feb 17th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # New code: Define global
  2. windowText = 'some text'
  3.  
  4.  
  5. def customDraw(hWindow):
  6. global windowText
  7. time.sleep(1.0)
  8. windowText = 'Something new1'
  9. windowText = 'Something new2'
  10. windowText = 'Something new3'
  11. windowText = 'Something new4'
  12. windowText = 'Something new5'
  13. win32gui.RedrawWindow(hWindow, None, None, win32con.RDW_INVALIDATE | win32con.RDW_ERASE)
Add Comment
Please, Sign In to add comment