PSM_SETCURSEL  35OJZZS 

The PSM_SETCURSEL message activates the given page in a property sheet. You can send this message explicitly or by using the PropSheet_SetCurSelLGK7VK macro.

PSM_SETCURSEL

wParam = (WPARAM) (int) index;

lParam = (LPARAM) (HPROPSHEETPAGE) hpage;

 

Parameters

hpage

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

index

Zero-based index of the page to activate.

 

Return Values

Returns TRUE if successful or FALSE otherwise.

Remarks

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.

See Also

PropSheet_SetCurSel, PSN_KILLACTIVE, PSN_SETACTIVE