Share via


CLinkCtrl::SetItemID

Retrieves the ID of a link control item.

BOOL SetItemID( 
   int iLink, 
   LPCWSTR szID  
);

Parameters

  • iLink
    The index of a link control item.

  • szID
    A null-terminated string containing the ID of the specified item.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

Sets the ID of a specific link control item. For more information, see the Win32 message LM_SETITEM in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CLinkCtrl Class

Hierarchy Chart

CLinkCtrl::GetItemID

CLinkCtrl::GetItem