The behavior may occur if the win32k.sys is corrupted. Go to C:\WINDOWS\System32 and rename the Win32k.sys file to Win32k.old and then close the window. Now go back to the system32 folder and you will have a new and non-corrupt Win32k.sys file.
The behavior also may be caused by that the virtual memory of the Windows XP is corrupted. Disable and then enable the Virtual Memory to see whether it solved the problem. To disable Virtual memory:
1. Right click My Computer and choose properties 2. Click the Advanced tab 3. Under Performance click settings. 4. Click the Advanced tab. 5. Under Virtual memory click change 6. Click no paging file 7. Click OK 8. Restart the computer
To enable Virtual memory:
1. Right click My Computer and choose properties 2. Click the Advanced tab 3. Under Performance click settings. 4. Click the Advanced tab. 5. Under Virtual memory click change 6. Click System Managed Size 7. Click OK 8. Restart the computer