TCM_HIGHLIGHTITEM

This message sets the highlight state of a tab item.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related macro: TabCtrl_HighlightItem

Syntax

  1. TCM_HIGHLIGHTITEM wParam = (WPARAM) idItem;
    lParam = (LPARAM) MAKELONG(fHighlight,0);

Parameters

idItem

Zero-based index of a tab control item.

fHighlight

Boolean that specifies whether the highlight state is to be set. If this value is TRUE, the tab is highlighted; if FALSE, the tab is set to its default state.

Return Values

Nonzero indicates success. Zero indicates otherwise.