Indicates whether a mouse button is pressed.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool IsKeyPressed(
	MouseButtons button
)

Parameters

button
Type: System.Windows.Forms..::.MouseButtons
Mouse button to be tested.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the mouse button is pressed.

See Also