Condividi tramite


CMFCLinkCtrl::SetURLPrefix

Sets the implicit protocol (for example, "http:") of the URL.

void SetURLPrefix(
   LPCTSTR lpszPrefix 
);

Parameters

  • [in] lpszPrefix
    The prefix of the URL protocol.

Remarks

Use this method to set the URL prefix. The prefix is not displayed on the button's face, but you can use it to help browse to the URL's target.

Requirements

Header: afxlinkctrl.h

See Also

Reference

CMFCLinkCtrl Class

Hierarchy Chart