pub fn send_sys_command(window: HWND, cmd_type: WPARAM, l_param: LPARAM) -> bool
Expand description

Sends sys command to a window.

Refer to https://msdn.microsoft.com/en-us/library/windows/desktop/ms646360%28v=vs.85%29.aspx

Parameters

  • window - Handle to the window for which to send.
  • cmd_type - Type of sys command.
  • l_param - Mouse & screen coordinates.

Return

  • true - On success.
  • false - Otherwise.