TE Edit Control Win32 / Win64 Help
Product page

TerSetPageNumFmt

Set the print format for the page number string.

BOOL TerSetPageNumFmt(hWnd, sect, format)
HWND hWnd;The handle of the window to be accessed
int sect;Section id to apply changes. You can also set this parameter to SECT_CUR to edit the current section, or set it to SECT_ALL to apply changes to all sections in the document.
int format;The 'format' parameter can be set to one of the following constants:
NBR_DECDecimal number
NBR_UPR_ROMANUppercase roman letters
NBR_LWR_ROMANLowercase roman letters
NBR_UPR_ALPHAUppercase alphabets
NBR_LWR_ALPHALowercase alphabets
BOOL refresh;TRUE to refresh the window after this operation

Return Value: This function returns TRUE if successful.