PropSheet_PressButtonPropSheet_PressButton*
*Contents  *Index  *Topic Contents
*Previous Topic: PropSheet_IsDialogMessage
*Next Topic: PropSheet_QuerySiblings

PropSheet_PressButton


BOOL PropSheet_PressButton(
    HWND hPropSheetDlg, 		
    int iButton		
);		

Simulates the selection of a property sheet button. You can use this macro or send the PSM_PRESSBUTTON message explicitly.

hPropSheetDlg
Handle to the property sheet.
iButton
Index of the button to select. This parameter can be one of the following values:
PSBTN_APPLYNOW Selects the Apply Now button.
PSBTN_BACK Selects the Back button.
PSBTN_CANCEL Selects the Cancel button.
PSBTN_FINISH Selects the Finish button.
PSBTN_HELP Selects the Help button.
PSBTN_NEXT Selects the Next button.
PSBTN_OK Selects the OK button.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.