CTabCtrl::HighlightItem

Sets the highlight state of a tab item.

BOOL HighlightItem(
  int idItem,
  BOOL fHighlight = TRUE 
);

Parameters

  • idItem
    Zero-based index of a tab control item.

  • fHighlight
    Value specifying the highlight state to be set. If this value is TRUE, the tab is highlighted; if FALSE, the tab is set to its default state.

Return Value

Nonzero if successful; otherwise zero.

Remarks

This member function implements the Win32 message TCM_HIGHLIGHTITEM, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CTabCtrl Class

Hierarchy Chart

Other Resources

CTabCtrl Members