hi, i use Visual C++ 2008 and i got a problem..
i want to create a program, which detect user keyboard ( also all combination with ctrl, alt and shift ) or mouse ( button 3, 4, 5, clicks ) events, all these keys got different actions. All these events are determinated by user and this program should work not in focus.
For example: i can launch a game or something and my program should work.
other example about events: user create a event Ctrl+u, if this event detected, simulate a other key press e.g. "A", next event can be Shift+Alt+F2 this one simulate a "B" key press and so on. how user need to save these events to the file? use ascii? or what? i asking because dont know how to detect all these events, how to detect all keyboard combinations and so on.
Usually, event handles are provided by GUI toolkit, of course, as I think you can use OS API.
Your main task to implement what you want is to register your callback.