TE Edit Control Win32 / Win64 Help
Product page

TerGetFontFieldId

Retrieve the field id associated with the given font id.

BOOL TerGetFontFieldId(hWnd, FontId)
HWND hWnd;The handle of the window to be accessed
int FontId;FontId (0 to TotalFonts-1). Set to 0 to specify the default font.

Return Value: This function returns the field id associated with a font id. A value of 0 indicates that the font id is not used for a field text.