Help Center
Help CenterAfxNova

TabCtrl_InsertTabfunction

WindowsfunctionAfxCtl.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION TabCtrl_InsertTab (BYVAL hwndTab AS HWND, BYVAL nTabIndex AS DWORD, BYVAL iImage AS LONG, BYVAL pwszText AS WSTRING PTR, BYVAL lParam AS LPARAM = 0) AS LONG

Parameters

NameDescription
hTabHandle to the tab control.
nTabInxex= Zero-based index of the tab
iImage= Zero-based index of the image in the image list or -1 for no image.
pwszText= Pointer to a null-terminated string that contains the tab text when item information is being set.
lParamApplication-defined data associated with the tab control item. Returns the index of the new tab if successful, or -1 otherwise.

Reference

  • Include file AfxCtl.inc
  • Defined in AfxNova/AfxCtl.inc:4336