Freigeben über


CLinkCtrl::SetItemUrl

Sets the URL represented by the link control item.

BOOL SetItemUrl(
   int iLink,
   LPCWSTR szUrl 
);

Parameters

  • iLink
    The index of a link control item.

  • szUrl
    A null-terminated string containing the URL represented by the specified item

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

Sets the URL represented by the specified link control item. For more information, see the Win32 message LM_SETITEM in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Concepts

CLinkCtrl Class

CLinkCtrl Members

Hierarchy Chart