Graphisoft®

Dialog ManagerVersion: 2.0

NormalTab::GetItemText

Retrieves the text of a tab control item.

long GetItemText (
    short               tabItem,
    char *              text,
    long                size
) const;

Parameters

tabItem
1-based index of the tab control item.
text
Output parameter: pointer to a buffer to receive the text. This parameter can be NULL.
size
Size of the text buffer. If text is NULL, this parameter is ignored.

Return Value

The length of the item text (including the 0 terminator), or zero if size is less than the size of the item text.

Description

Use NULL for the text parameter to determine the necessary buffer size.