Compartir a través de


PropSheet_PressButton

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

PSM_PRESSBUTTON