# DIF_BTNNOCLOSE

The DIF_BTNNOCLOSE flag directs the button not to close the dialog when pressed. Default behavior of the buttons is to end dialog processing. Another way to change the normal behavior is to return FALSE for the DN_CLOSE event.

### Controls

The DIF_BTNNOCLOSE flag is applicable to the following dialog items:

Control | Description
--- | ---
DI_BUTTON | Push Button.

### Remarks

The DIF_BTNNOCLOSE flag has no meaning for a dialog with no callback function.
See also:
DM_CLOSE