TE Edit Control Win32 / Win64 Help
Product page

TerCreateBulletId

Create a paragraph bullet/numbering id.

int TerCreateBulletId(hWnd, IsBullet, start, level, type)
int TerCreateBulletId2(hWnd, IsBullet, start, level, type, TextBef, TextAft)
int TerCreateBulletId3(hWnd, IsBullet, start, level, type, TextBef, TextAft, flags)
HWND hWnd;Handle of the window to be accessed
BOOL IsBullet;TRUE to set the paragraph bullet or FALSE to set paragraph numbering.
int start;The starting number when setting paragraph numbering. Set to 1 for default.
int level;The level number when setting paragraph numbering. Set to 0 for default.
int type;The parameter indicates the symbol used for bullets or the letters used for paragraph numbering. Please refer to the TerSetBulletEx function for the constant symbols used for this parameter.
LPBYTE TextBef;Text before the paragraph number (limited to 10 bytes). Set to NULL for default.
LPBYTE TextAft;Text After the paragraph number (limited to one byte). Set to NULL for default.
UINT flags;Set this argument to BLTFLAG_HIDDEN to create a continuing list item. Set to 0 to create regular list item..

Return Value: This function returns the bullet id.