Partager via


PropSheet_PressButton (Compact 2013)

3/28/2014

This macro simulates the choice of a property sheet button. You can use this macro or send the PSM_PRESSBUTTON message explicitly.

Syntax

BOOL PropSheet_PressButton( 
    hPropSheetDlg, 
    iButton 
);

Parameters

  • hPropSheetDlg
    Handle to the property sheet.
  • iButton
    Index of the button to select. It is one of the following values.

    Value

    Description

    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.

Return Value

None.

Requirements

Header

prsht.h

See Also

Reference

Property Sheets Macros
PSM_PRESSBUTTON