PropSheet_CancelToClose

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.

At a Glance

Header file: Prsht.h
Windows CE versions: 1.0 and later
Related message: PSM_CANCELTOCLOSE

Syntax

VOID PropSheet_CancelToClose( hPropSheetDlg );

Parameters

hPropSheetDlg

Handle to the property sheet.

Return Values

None.