Compartilhar via


WM_STARTMENU_SETCURSEL

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 wParam was successfully selected. Otherwise it returns FALSE (0).

Remarks

#define WM_STARTMENU_SETCURSEL (WM_USER + 102)

This message should be sent to the MSSTARTMENU control class.

See Also

Reference

Start Screen Messages

Concepts

Start Screen Reference