Presentation is loading. Please wait.

Presentation is loading. Please wait.

Keyboard and mouse in Windows API

Similar presentations


Presentation on theme: "Keyboard and mouse in Windows API"— Presentation transcript:

1 Keyboard and mouse in Windows API
Rokas Mikalkevičius data

2 Mouse Important, but optional Messages Cursor Capture ClickLock
Configuration SM_MOUSEPRESENT to GetSystemMetrics XBUTTONS data VU, fakultetas

3 Mouse Message parameters Value Description MK_CONTROL
The CTRL key is down. MK_LBUTTON The left mouse button is down. MK_MBUTTON The middle mouse button is down. MK_RBUTTON The right mouse button is down. MK_SHIFT The SHIFT key is down. MK_XBUTTON1 The first X button is down. MK_XBUTTON2 The second X button is down. data VU, fakultetas

4 Mouse Mouse sonar Mouse vanish Mouse wheel Window activation
 WM_MOUSEWHEEL message and pulScrollLines Window activation Source: us/library/windows/desktop/ms645533(v=vs.85).aspx data VU, fakultetas

5 Keyboard Input model and scan codes Keyboard Focus and Activation
Keystroke Messages Source: us/library/windows/desktop/ms645530(v=vs.85).aspx data VU, fakultetas

6 Questions? data


Download ppt "Keyboard and mouse in Windows API"

Similar presentations


Ads by Google