Share via


PropSheet_Apply (Compact 2013)

3/28/2014

This macro simulates the choice of the Apply Now button, indicating that one or more pages have changed and the changes need to be validated and recorded. The property sheet sends the PSN_KILLACTIVE message to the current page. If the current page returns FALSE, the property sheet sends the PSN_APPLY message to all pages. You can use this macro or send the PSM_APPLY message explicitly.

Syntax

BOOL PropSheet_Apply( 
    hPropSheetDlg 
);

Parameters

  • hPropSheetDlg
    Handle to the property sheet.

Return Value

TRUE indicates that all pages successfully applied the changes. FALSE indicates failure.

Requirements

Header

prsht.h

See Also

Reference

Property Sheets Macros
PSM_APPLY
PSN_APPLY
PSN_KILLACTIVE