03-05-2008, 08:12 PM
To create your own keyboard or mouse triggers or filters, use low level keyboard or mouse hooks. Note that other hooks must be in a dll, so you need LOW LEVEL hooks.
Documented in the MSDN library:
http://msdn2.microsoft.com/en-us/library/ms644990.aspx
Example:
BlockInput2 - disable keyboard and/or mouse
Or use filter function. But then you will still need separate macros for each mouse button and important key.
---
To prevent minimizing or restoring a window you can change its style.
Documented in the MSDN library:
http://msdn2.microsoft.com/en-us/library/ms644990.aspx
Example:
BlockInput2 - disable keyboard and/or mouse
Or use filter function. But then you will still need separate macros for each mouse button and important key.
---
To prevent minimizing or restoring a window you can change its style.