Partager via


TCM_GETCURFOCUS (Compact 2013)

3/28/2014

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.

Syntax

TCM_GETCURFOCUS wParam = 0;
    lParam = 0; 

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

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

Requirements

Header

commctrl.h

See Also

Reference

Tab Controls Messages
TabCtrl_GetCurFocus