TE Edit Control Win32 / Win64 Help
Product page

TerGetListOrInfo

Retrieve information for a list override id.

BOOL TerGetListOrInfo(hWnd, ListOrId, ListId, LevelCount, flags)
HWND hWnd;The handle of the window to be accessed
int ListOrId;

The id of the list override item. Set this parameter to -1 to retrieve the information about the list override id for the current line.

The TerGetBulletInfo2 function can be used to retrieve the list override id associated with the current line or a paragraph id.

LPINT ListId;The location to retrieve the list id for this list override id.
LPINT LevelCount;The location to retrieve the number of list levels supported by the list override id. A non-zero value indicates that this list override id actually overrides the level information for the underlying list id.
LPLONG flags;The location to retrieve the list override flags. This parameter is not used currently and always returns a zero value.

Return Value: This function returns TRUE when successful.