PropSheet_CancelToClose

The PropSheet_CancelToClose macro disables the Cancel button and changes the text of the OK button to "Close." An application sends the PSM_CANCELTOCLOSE message after applying a change that cannot be canceled. You can use this macro or explicitly send the PSM_CANCELTOCLOSE message.

VOID PropSheet_CancelToClose(

hPropSheetDlg  
);  

Parameters

hPropSheetDlg

Handle to the property sheet.

Return Values

No return value.

See Also

PSM_CANCELTOCLOSE