Поделиться через


CToolBarCtrl::SetAnchorHighlight

Sets the anchor highlight setting for a toolbar.

BOOL SetAnchorHighlight(
   BOOL fAnchor = TRUE 
);

Параметры

  • [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

Возвращаемое значение

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

Заметки

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

Требования

Header: afxcmn.h

См. также

Основные понятия

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::GetAnchorHighlight