DN_DRAGGED

Far Manager

DN_DRAGGED

The DN_DRAGGED event is sent to the dialog callback function as a notification of the beginning and the ending of dragging the dialog.

Dragging of the dialog has began

Param1

0

Param2

0

Return

TRUE - allow dragging the dialog
FALSE - forbid dragging the dialog

Dragging of the dialog is finished

Param1

1

Param2

0 - dialog successfully displaced
1 - if the dragging of the dialog was cancelled by pressing Esc or the right mouse button.

Return

Ignored.

Remarks

  1. The DN_DRAGGED event is sent before the dialog is redrawn.

Example

See also: