Prev Next

PSM_SETCURSELID Overview  Group

The PSM_SETCURSELID message activates the given page in a property sheet based on the resource identifier of the page. You can send this message explicitly or by using the PropSheet_SetCurSelByID macro.

PSM_SETCURSELID 

wParam = 0; 

lParam = (LPARAM) (int) id; 

 

Parameters

id
Resource identifier 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_SetCurSelByID, PSN_KILLACTIVE, PSN_SETACTIVE