Partilhar via


CLinkCtrl::SetItem

Sets the states and attributes of a link control item.

BOOL SetItem(
   PLITEM pItem
);

Parameters

  • pItem
    A pointer to a LITEM structure containing the information to set.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

This member function implements the behavior of the Win32 message LM_SETITEM, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CLinkCtrl Class

Hierarchy Chart

CLinkCtrl::GetItem

CLinkCtrl::SetItemID

CLinkCtrl::SetItemState

CLinkCtrl::SetItemUrl

Other Resources

CLinkCtrl Members