When I go into fullscreen mode, I run the following code:
ShowCursor(FALSE); SetCursor(NULL); ClipCursor(&myWindowRect);
When I go into windowed mode, I run the following code:
ShowCursor(TRUE); SetCursor(LoadCursor(NULL, IDC_ARROW)); ClipCursor(NULL);
I also check for the WM_SETCURSOR event, and I run one of the two blocks of code seen above, depending on whether I'm in fullscreen or windowed mode. When changing modes, there is a delay of 2 - 4 seconds.
Is there another Win32 API call I need to make? Is there another event I need to handle?