PropSheet_PressButton

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

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 Values

None.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Prsht.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

PSM_PRESSBUTTON

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.