PropSheet_SetCurSelPropSheet_SetCurSel*
*Contents  *Index  *Topic Contents
*Previous Topic: PropSheet_RestartWindows
*Next Topic: PropSheet_SetCurSelByID

PropSheet_SetCurSel


BOOL PropSheet_SetCurSel(
    HWND hPropSheetDlg, 		
    HPROPSHEETPAGE hpage, 		
    int index		
);		

Activates the specified page in a property sheet. You can use this macro or send the PSM_SETCURSEL message explicitly.

hPropSheetDlg
Handle to the property sheet.
index and hpage
Zero-based index of the page and the handle to the page to activate, respectively. An application can specify the index or the handle, or both. If both are specified, hpage takes precedence.

The window that is losing the activation receives the PSN_KILLACTIVE notification message, and the window that is gaining the activation receives the PSN_SETACTIVE notification message.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.