How to find information about mouse?

Well I’m not talking about the one that your cat runs after but the one on which your palm rests. đŸ˜‰ It’s quite easy, use GetSystemMetrics and associated mouse indexes. I’ll show demos here… Is there a mouse installed? [sourcecode language=’cpp’]// Use GetSystemMetrics ::GetSystemMetrics( SM_MOUSEPRESENT );[/sourcecode] Is there a mouse wheel present? [sourcecode language=’cpp’]// Use […]
Continue reading…

 

Function for retrieving user restrictions set by an administrator

It’s quite normal that an administrator can set restrictions on certain users for security reasons, for e.g. in my company I’ve restrictions which prevents me from changing my screensaver etc, which is kinda bad in my opinion and there are other restrictions too. So the question, is there an API which helps us in finding out […]
Continue reading…