Cursor problem
Hello,
I have a window which the user can use to activate an operation. This operation takes a long time to execute, so I'm using a modal window with a progress bar to show how much has already been done in any moment, and because the modal window blocks the original window, the operation is executed in a separate thread.
Before the operation starts, I set the original window's cursor to the wait cursor. The problem is that when the modal window is displayed, the cursor turns back to be the default cursor. If the modal window's cursor is also set to the wait cursor, then when only the cursor is in its boundaries, it turns to be wait cursor, and if it's not in the boundaries, but is in the original window's boundaries, it turns to be the default cursor, as long as the modal window is displayed.
Does anyone know how to solve this problem? Is there a way to set the cursor for an application and not only for a component?
Thanks.

