Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Send this message to set the focus to a specific Start screen item.

Syntax

WM_STARTMENU_SETCURSEL
  WPARAM 
wParam, 
  LPARAM 
lParam

Parameters

wParam

The index of the item to be selected. The index starts from 0.

lParam

This parameter is not used.

Return Value

Returns TRUE ( 1) if the item specified by wParamwas successfully selected. Otherwise it returns FALSE ( 0).

Remarks

#define WM_STARTMENU_SETCURSEL (WM_USER + 102)

This message should be sent to the MSSTARTMENUcontrol class.

See Also