Gets the mouse button pressed by the user.
HRESULT IHTMLEventObj::get_button(long *p);
- Pointer to a variable of type long that receives one of the values listed in Possible Values.
0 Default. No button is pressed. 1 Left button is pressed. 2 Right button is pressed. 3 Left and right buttons are both pressed. 4 Middle button is pressed. 5 Left and middle buttons both are pressed. 6 Right and middle buttons are both pressed. 7 All three buttons are pressed.
Returns S_OK if successful, or an error value otherwise.