Share via


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.

TCM_GETCURFOCUS wParam = 0;
  lParam = 0; 

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Values

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TabCtrl_GetCurFocus

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.