Windows Dev Center

PropSheet_Apply macro

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 hPropSheetDlg
);

Parameters

hPropSheetDlg

Type: HWND

Handle to the property sheet.

Return value

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Prsht.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft