MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.