Partager via


CLinkCtrl::GetItem

Retrieves the states and attributes of a link control item.

BOOL GetItem( 
   PLITEM pItem 
) const;

Parameters

  • pItem
    A pointer to a LITEM structure to receive item information.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CLinkCtrl Class

Hierarchy Chart

CLinkCtrl::SetItem

CLinkCtrl::GetItemID

CLinkCtrl::GetItemState

CLinkCtrl::GetItemUrl