Compartir a través de


PropSheet_CancelToClose

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

PSM_CANCELTOCLOSE