I have an app which is bailing out because it cannot get valid data from SPI_GETMOUSE - and indeed this reg key does not exist.
The key should be in "Control Panel\Colors" under CURRENT_USER.
There are similar values in the "Control Panel" folder in the registry.
Is there a reason this value is not initialized ?
If i want to fix it, then:
1) Where is the best place to initialize values like these? I presume its during boot, where the mouse values should be read?
2) Should i get the mouse data from X11 or just simulate something?
/p
"Peter Dons Tychsen" donpedro@tdcadsl.dk wrote:
I have an app which is bailing out because it cannot get valid data from SPI_GETMOUSE - and indeed this reg key does not exist.
The key should be in "Control Panel\Colors" under CURRENT_USER.
That's a wrong key name.
There are similar values in the "Control Panel" folder in the registry.
Is there a reason this value is not initialized ?
SPI_GETMOUSE should work just fine, do you have a sample code which doesn't work? Is the app trying to read the registry directly without using SystemParametersInfo?