Help Center

CTab.GetCurFocusmethod

Returns the index of the item that has the focus in a tab control.

WindowsmethodCTab.incdocumented

Syntax

FUNCTION GetCurFocus (BYVAL hTab AS HWND) AS LONG

Description

Returns the index of the item that has the focus in a tab control.

Remarks

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

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

Example

DIM curFocus AS LONG = CTab.GetCurFocus(hTab)

Reference

  • Include file CTab.inc
  • Defined in AfxNova/CTab.inc:144
  • Documented in Windows/WIndows Controls/CTab Class.md
  • Topic: CTab Class