I'm making a Tkinter program where the user can capture an image from the screen through mouse dragging.
When program is running, I want to change the mouse cursor to cross type.
I looked up how I can do it, but I could only find codes that change the cursor type when it is only inside the Tk
window.
I wish the cursor to be cross type wherever it is, even when it's outside of Tk
window.
I also tried,
ctypes.windll.user32.SetSystemCursor(hcur, 32515)
but it gets an error saying 'hcur' is not defined.
What should I do?