Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # New code: Define global
- windowText = 'some text'
- def customDraw(hWindow):
- global windowText
- time.sleep(1.0)
- windowText = 'Something new1'
- windowText = 'Something new2'
- windowText = 'Something new3'
- windowText = 'Something new4'
- windowText = 'Something new5'
- win32gui.RedrawWindow(hWindow, None, None, win32con.RDW_INVALIDATE | win32con.RDW_ERASE)
Add Comment
Please, Sign In to add comment