Indicates whether a mouse button is pressed.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public bool IsKeyPressed( MouseButtons button, bool whenFocused ) |
Parameters
- button
- Type: System.Windows.Forms..::.MouseButtons
Mouse button to be tested.
- whenFocused
- Type: System..::.Boolean
Returns the pressed mouse button unless the panel is not focused.