The PropSheet_PressButton macro simulates the choice of a property sheet button. You can use this macro or explicitly send the PSM_PRESSBUTTON message.
BOOL PropSheet_PressButton(
| hPropSheetDlg, | |
| iButton | |
| ); |
Parameters
hPropSheetDlg
Handle to the property sheet.
iButton
Index of button to choose. This parameter can be one of the following values:
| Value | Meaning |
| PSBTN_APPLYNOW | Chooses the Apply Now button. |
| PSBTN_BACK | Chooses the Back button. |
| PSBTN_CANCEL | Chooses the Cancel button. |
| PSBTN_FINISH | Chooses the Finish button. |
| PSBTN_HELP | Chooses the Help button. |
| PSBTN_NEXT | Chooses the Next button. |
| PSBTN_OK | Chooses the OK button. |
Return Values
No return value.
See Also