共用方式為


CLinkCtrl Members

Member Functions

CLinkCtrl

Constructs a CLinkCtrl object.

Create

Creates a link control and attaches it to a CLinkCtrl object.

CreateEx

Creates a link control with extended styles and attaches it to a CLinkCtrl object.

GetIdealHeight

Retrieves the ideal height of the link control.

GetIdealSize

Calculates the preferred height of the link text for the current link control, depending on the specified width of the link.

GetItem

Retrieves the states and attributes of a link control item.

GetItemID

Retrieves the ID of a link control item.

GetItemState

Retrieves the state of the link control item.

GetItemUrl

Retrieves the URL represented by the link control item.

HitTest

Determines whether the user clicked the specified link.

SetItem

Sets the states and attributes of a link control item.

SetItemID

Sets the ID of a link control item.

SetItemState

Sets the state of the link control item.

SetItemUrl

Sets the URL represented by the link control item.

See Also

Concepts

CLinkCtrl Class

Hierarchy Chart