For my BitsyXb CE 5.0 application (VS 2008, C#) I'm typically running with a hardware keypad. Thus I do not need a mouse pointer on the screen. However, when a USB mouse is plugged in, it needs to be shown.
I thought CE would handle this for me. But many times I get a mouse pointer in the middle of my screen - even when there is no mouse present. What's up with that? This looks bad and I want to fix it.
What is the best way to detect the presense of a mouse at launch (as well as during insertion/removal) and display the pointer accordingly? I'd hate to have to add mouse monitoring in every one of my full screen dialogs.
"MouseDetect" entry in ADSLoad.hwt will not prevent the mouse cursor from appearing when you plug in a USB mouse. If you are not using a PS2 mouse, keep it 0 or delete the entry altogether.
The "EnableMouseCursor" entry in ADSLoad.reg controls showing or hiding the mouse cursor when a mouse is present. If it is 0, then you will not see the cursor on the screen even when you plug in a mouse.
For BitsyXb:
[HKEY_LOCAL_MACHINE\Drivers\Display\Intel] "EnableMouseCursor"=dword:1 ; 0 to disable