Tablet PC users running Windows 8.1 or Windows 8 have a strange problem of mouse cursor not showing after bootup. Apparently, the cursor remains hidden by default after startup, and doesn’t display until a touch on the screen or by making a gesture. This problem is seen only in Windows 8 tablets that only have touch-screen-only system (no mouse or pen). This is clearly a frustrating phenomenon, but now there is a official solution to this problem, in the form of hotfix straight from Microsoft – yes no more manual editing of Windows Registry or need of using a third-party utility.
From programming point-of-view, the problem is seen in the way “ShowCursor” function works. If the function is TRUE, the display count is incremented by one. If it is FALSE, the display count is decremented by one. This triggers an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is –1. So in actual scenario, there is really no easy way to tackle this problem programmatically. Hence we see a hotfix.