Partager via


CTabView::FindTab

Returns the index of the specified view in the tab control.

int FindTab(
   HWND hWndView 
) const;

Parameters

  • [in] hWndView
    The handle of the view.

Return Value

The index of the view if it is found; otherwise, -1.

Remarks

Call this function to retrieve the index of a view that has a specified handle.

Requirements

Header: afxTabView.h

See Also

Reference

CTabView Class

Hierarchy Chart