Export (0) Print
Expand All

PSM_SETCURSEL message

Activates the specified page in a property sheet. You can send this message explicitly or by using the PropSheet_SetCurSel macro.

Parameters

wParam

The zero-based index of the page. An application can specify the index or the handle or both. If both are specified, lParam takes precedence.

lParam

The handle to the page to activate. An application can specify the index or the handle or both. If both are specified, lParam takes precedence.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Prsht.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft