You can get the key press in the key press event.
And the mouse event in the mouse event.
To find out if a key press event is happening at the same time as a mouse event, create your code in such a way that you hold a boolean (example isKeyDown) and a char (the actual key). Set the boolean to true when a key is down (watch out for repeats and input in widgets). Set it to false on key up. Then in the mouse event check that value of the boolean and the char.
Thinking out of the box.




Reply With Quote

Bookmarks