PropSheet_PressButton macro (prsht.h)
Simulates the selection of a property sheet button. You can use this macro or send the PSM_PRESSBUTTON message explicitly.
Syntax
BOOL PropSheet_PressButton(
HWND hDlg,
int iButton
);
Parameters
hDlg
Type: HWND
Handle to the property sheet.
iButton
Type: int
Index of the button to select. This parameter can be one of the following values:
Return value
Type: BOOL
No return value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | prsht.h |