Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This macro simulates the choice of the Apply Nowbutton, indicating that one or more pages have changed and the changes need to be validated and recorded. The property sheet sends the PSN_KILLACTIVEmessage to the current page. If the current page returns FALSE, the property sheet sends the PSN_APPLYmessage to all pages. You can use this macro or send the PSM_APPLYmessage 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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also