Help Center

AfxDestroyTabPagefunction

Detroys a tab page.

Windowsfunctiondocumented

Syntax

FUNCTION AfxDestroyTabPage (BYVAL hTab AS HWND, BYVAL idx AS LONG) AS BOOLEAN

Parameters

NameDescription
hTabHandle to the Tab control.
hTabZero-based index of the tab. If this parameter is ommited, the function will return the pointer of the currently selected tab, if any.

Return value

TRUE or FALSE.

Description

Detroys the specified tab page.

Example

AfxDestroyTabPage(hTab, 1)

Reference

  • Defined in AfxNova/CTabPage.inc:262
  • Documented in Windows/Windows GUI/CTabPage Class.md
  • Topic: CTabPage Class