Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets which mouse button is pressed.
![]() |
Syntax
HRESULT value = object.get_which(USHORT* p);
Property values
Type: unsigned short
1
No button is pressed.
2
The left mouse button is pressed.
3
The right mouse button is pressed.
Standards information
There are no standards that apply here.
Remarks
The IDOMMouseEvent::which property is provided for compatibility only. The IDOMMouseEvent::button property is preferred.
Note The values that are returned by this property are the same as those returned by IDOMMouseEvent::button plus one.
.png)