Forms Manager Error Values

The following table shows the errors that can be returned by Forms Manager functions.

Error value
Description
ASFC_E_BADID Bad control or form identifier provided to a method.
ASFC_E_CTRL_CLOSED Control has been closed.
ASFC_E_IDEXISTS Identifier already exists.
ASFC_E_CTRL_INVALID Control does not support all interfaces.
ASFC_E_CTRL_NOFOCUS No current focus.
ASFC_E_CTRL_NOPARENT Control does not have a form parent.
ASFC_E_CTRL_NOTINIT Control has not been initialized.
ASFC_E_CTRL_NOTSTARTED Control has not been started.
ASFC_E_CTRL_NOSUCH Unknown control.
ASFC_E_FM_NOFMS No Forms Managers allocated.
ASFC_E_FM_NOSUCH No such Forms Manager exists.
ASFC_E_FORM_BADDC A bad handle to a device context (HDC) was recognized.
ASFC_E_FORM_DRAWINACTIVE Drawing is disabled.
ASFC_E_FORM_EMPTY No controls on this form.
ASFC_E_NOMENU No menu.
ASFC_E_SYSTEM System error.
ASFC_E_VERSION Wrong version of Asfc.dll.