PSM_CANCELTOCLOSE

This message disables the Cancel button and changes the text of the OK button to “Close.” An application sends this message after applying a change that cannot be canceled. You can send this message explicitly or by using the PropSheet_CancelToClose macro.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: PropSheet_CancelToClose

Syntax

PSM_CANCELTOCLOSE

Return Values

None.