PropSheet_CancelToClose (Compact 2013)

3/28/2014

This 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 send the PSM_CANCELTOCLOSE message explicitly.

Syntax

VOID PropSheet_CancelToClose( 
    hPropSheetDlg 
);

Parameters

  • hPropSheetDlg
    Handle to the property sheet.

Return Value

None.

Requirements

Header

prsht.h

See Also

Reference

Property Sheets Macros
PSM_CANCELTOCLOSE