GET STYLE ID returns the ID of the <index>-th font of the family to which the font <id> also belongs. <index> must be a number between 1 and the result of fnts_get_no_styles().
Declaration:
LONG fnts_get_style( FNT_DIALOG *fnt_dialog, LONG id, WORD index );
Call:
style_id = fnts_get_style( fnt_dialog, id, index );
Variable Argument Meaning
Inputs:
contrl[0] 184 fnts_get
contrl[1] 4 Entries in intin
contrl[3] 1 Entries in addrin
intin[0] 1 fnts_get_style
intin[1/2] id ID of a font of the family
intin[3] index Index within the family
addrin[0] fnt_dialog Pointer to management structure
Outputs:
contrl[2] 2 Entries in intout
contrl[4] 0 Entries in addrout
intout[0/1] style_id ID of the <index>-th font of
the family