TE Edit Control Win32 / Win64 Help
Product page

TerGetPageNumFmt

Retrieve the print format for the page number string.

int TerGetPageNumFmt(hWnd, sect, format)
HWND hWnd;The handle of the window to be accessed
int sect;Section id to retrieve the page number format. You can also set this parameter to SECT_CUR to specify the current section.

Return Value: This function returns one of the following constants.

LIST_DECDecimal number
LIST_UPR_ROMANUppercase roman letters
LIST_LWR_ROMANLowercase roman letters
LIST_UPR_ALPHAUppercase alphabets
LIST_LWR_ALPHALowercase alphabets

A return value of -1 indicates an error condition.