TCM_GETCURFOCUS

This message returns the index of the item that has the focus in a tab control. You can send this message explicitly or by using the TabCtrl_GetCurFocus macro.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: TabCtrl_GetCurFocus

Syntax

  1. TCM_GETCURFOCUS wParam = 0; lParam = 0;

Return Values

Returns the index of the tab item that has the focus.