Home Notices Documents Classes Download Others Rice
Classes  >  mouse  >  Middle
mouse class : Middle getter

Description

Gets a value that indicates whether the middle button of the mouse is pressed.

Syntax

mouseInstance.Middle

Arguments

None.

Return value

ClassDescription
boolValue that indicates whether the middle button of the mouse is pressed.

Sample code

1:

mouse m = new mouse();

2:

bool pressed = m.Middle;

Notes

If the middle button has pressed, return value is true.

If the middle button has not pressed, return value is false.

Links for reference

Copyright © Rice All rights reserved.