Share via


PropSheet_CancelToClose (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Property Sheets Macros
PSM_CANCELTOCLOSE