Download MetaTrader 5

MouseFocusKill

Clears the saved state of mouse buttons and deactivates the control.

bool  MouseFocusKill(
   const long  id=CONTROLS_INVALID_ID      // id
   )

Parameters

id=CONTROLS_INVALID_ID

[in]  Identifier of the control, that received mouse focus.

Return Value

The control deactivation result.


Updated: 2015.12.03