다음을 통해 공유


CToolBarCtrl::SetAnchorHighlight

Sets the anchor highlight setting for a toolbar.

BOOL SetAnchorHighlight(
   BOOL fAnchor = TRUE 
);

Parameters

  • [in] fAnchor
    Specifies if anchor highlighting is enabled or disabled. If this value is nonzero, anchor highlighting will be enabled. If this value is zero, anchor highlighting will be disabled

Return Value

The previous anchor setting. If highlighting was enabled, this value is nonzero. If highlighting was not enabled, this value is zero.

Remarks

This method implements the behavior of the Win32 message TB_SETANCHORHIGHLIGHT, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Concepts

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::GetAnchorHighlight