TabCtrl_GetCurFocusTabCtrl_GetCurFocus*
*Contents  *Index  *Topic Contents
*Previous Topic: TabCtrl_DeselectAll
*Next Topic: TabCtrl_GetCurSel

TabCtrl_GetCurFocus


int TabCtrl_GetCurFocus(
    HWND hwnd		
);		

Returns the index of the item that has the focus in a tab control. You can use this macro or send the TCM_GETCURFOCUS message explicitly.

hwnd
Handle to the tab control.

The item that has the focus may be different than the selected item.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.