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.
The DIF_BTNNOCLOSE flag is applicable to the following dialog items:
| Control | Description |
|---|---|
| DI_BUTTON | Push Button. |