SetSystemCursor in VC++
-
hi, I use SetSystemCursor to change the normal mouse cursor to something else, and 2 seconds later change it back to it's original. I can change the cursor the first time. but the second change does not happen until the first change is called once again. Please advise. thanks a million:rolleyes:, see below. ps. CopyCursor doesn't seem to work. this is inside a function that is called every 4 seconds: at the end of 1 second change mouse cursor from normal to appstarting
hCurCopy = LoadCursor(NULL, IDC_APPSTARTING); SetSystemCursor(hCurCopy,OCR_NORMAL);
later in the code at the end of 3 seconds change cursor from appstaring to normalhCurNorm = LoadCursor(NULL,IDC_ARROW); SetSystemCursor(hCurNorm,OCR_APPSTARTING)
-
hi, I use SetSystemCursor to change the normal mouse cursor to something else, and 2 seconds later change it back to it's original. I can change the cursor the first time. but the second change does not happen until the first change is called once again. Please advise. thanks a million:rolleyes:, see below. ps. CopyCursor doesn't seem to work. this is inside a function that is called every 4 seconds: at the end of 1 second change mouse cursor from normal to appstarting
hCurCopy = LoadCursor(NULL, IDC_APPSTARTING); SetSystemCursor(hCurCopy,OCR_NORMAL);
later in the code at the end of 3 seconds change cursor from appstaring to normalhCurNorm = LoadCursor(NULL,IDC_ARROW); SetSystemCursor(hCurNorm,OCR_APPSTARTING)