PropSheet_Apply macro (prsht.h)
Simulates the selection of the Apply button, indicating that one or more pages have changed and the changes need to be validated and recorded. You can use this macro or send the PSM_APPLY message explicitly.
Syntax
BOOL PropSheet_Apply(
HWND hDlg
);
Parameters
hDlg
Type: HWND
Handle to the property sheet.
Return value
Type: BOOL
Returns TRUE if all pages successfully applied the changes, or FALSE otherwise.
Remarks
The property sheet sends the PSN_KILLACTIVE notification code to the current page. If the current page returns FALSE, the property sheet sends the PSN_APPLY notification code to all active pages.
Note This macro is not supported when using the Aero wizard style (PSH_AEROWIZARD).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | prsht.h |