PropSheet_Apply

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 notification message to the current page. If the current page returns FALSE, the property sheet sends the PSN_APPLY notification message to all pages. You can use this macro or send the PSM_APPLY message explicitly.

At a Glance

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

Syntax

BOOL PropSheet_Apply( hPropSheetDlg );

Parameters

hPropSheetDlg

Handle to the property sheet.

Return Values

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