![]() |
![]() |
![]() |
Indicates whether a specified mouse button is up or down at the time the function is called.
Syntax
BOOL DXUTIsMouseButtonDown(
BYTE vButton );
Parameters
- vButton
- [in] Virtual key code
of a mouse button. Allowed values are VK_LBUTTON, VK_RBUTTON, VK_MBUTTON, VK_XBUTTON1, and VK_XBUTTON2.
Return Value
TRUE if the specified vButton mouse button is down; FALSE otherwise.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
DXUTIsKeyDown