PropSheet_Apply

The PropSheet_Apply 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 explicitly send the PSM_APPLY message.

BOOL PropSheet_Apply(

hPropSheetDlg  
);  

Parameters

hPropSheetDlg

Handle to the property sheet.

Return Values

Returns TRUE if all pages successfully applied the changes or FALSE otherwise.

See Also

PSM_APPLY, PSN_APPLY, PSN_KILLACTIVE