DXUTIsMouseButtonDown
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTIsMouseButtonDown Function


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 World Wide Web link 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

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

DXUTIsKeyDown


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.