Partager via


LM_SETITEM (Compact 2013)

3/28/2014

This message sets the states and attributes of an item.

Parameters

  • hWnd
    [in] Handle to the window whose window procedure receives the message.
  • Msg
    [in] LM_SETITEM.
  • wParam
    [in] Must be NULL.
  • lParam
    [in] Points to a LITEM structure containing the new states and attributes desired for the link.

    The LITEM.iLink member specifies the desired item.

Return Values

Returns TRUE if the message succeeds in setting the values and attributes specified.

Remarks

This message is sent with the SendMessage function.

Links can only be accessed through the numeric index in the iLink member of LITEM. Accessing the link through the ID name in szID is not supported.

Requirements

Header

commctrl.h

See Also

Reference

SysLink Controls Messages