DN_MOUSEEVENT

Far Manager

DN_MOUSEEVENT

The DN_MOUSEEVENT event is sent to the dialog callback function before a mouse message is handled by the dialog kernel.

Param1

0

Param2

Pointer to a MOUSE_EVENT_RECORD structure.

Return

TRUE - enable further processing of the event by the dialog kernel.
FALSE - the event has been handled by the plugin.

Controls

ControlDescription
Dialog the event applies only to the dialog

Remarks

  1. By default, the DN_MOUSEEVENT event is not sent to the dialog callback function. To enable/disable sending of this event, use the DM_SETMOUSEEVENTNOTIFY message.
  2. Do not enable this event unless you really need it: mouse events are sent very frequently!
  3. A plugin may modify the fields of the MOUSE_EVENT_RECORD structure passed to it.
  4. By default the DN_MOUSEEVENT event is not sent for an open DI_COMBOBOX. Use the DM_SETCOMBOBOXEVENT message to enable the sending of DN_MOUSEEVENT events.

Example

See also: