This function returns the number of fonts that belong to the same family as the font <id>, i.e. the number of styles in the family. <id> is the ID of a font of this family, that may have been returned by fnts_evnt() for instance.
Declaration: WORD fnts_get_no_styles( FNT_DIALOG *fnt_dialog, LONG id ); Call: no_fonts = WORD fnts_get_no_styles( fnt_dialog, id ); Variable Argument Meaning Inputs: contrl[0] 184 fnts_get contrl[1] 3 Entries in intin contrl[3] 1 Entries in addrin intin[0] 0 fnts_get_no_styles intin[1/2] id ID of a font of the family addrin[0] fnt_dialog Pointer to management structure Outputs: contrl[2] 1 Entries in intout contrl[4] 0 Entries in addrout intout[0] no_fonts Number of styles belonging to the family