DN_CLOSE

The DN_CLOSE event is sent to the dialog callback function as a notification before the dialog is closed - the user wants to close the dialog.

Param1

Param2

0

Return

TRUE - to allow closing the dialog
FALSE - to continue working with the dialog.

Remarks

  1. The DN_CLOSE event is received immediately after the DM_CLOSE message is sent.

Example

See also:
DialogEx, DM_CLOSE