When removing a form, the root form will be updated if the removed form had previously been visible -- i.e. the form was at the top of the stack or was the topmost visible form.
- pif:[in] A pointer to an IRootForm object.
- f:[in] Pointer to the form to be removed from the form stack. The form to be removed may be passed as a constant that identifies a relative position within the form stack, as follows. FORM_DEFAULT - Remove the default form, which BREW interprets to be the form at the top of the form stack. FORM_LAST - Remove the last form on the form stack -- i.e. the form at the top of the form stack. FORM_FIRST - Remove the first form on the form stack -- i.e. the form at the bottom of the form stack. FORM_ALL - Remove all of the forms on the form stack.
int IRootForm_RemoveForm(IRootForm *pif, IForm *f);
AEE_SUCCESS -- The form was successfully removed from the form stack. AEE_EBADPARM -- The form pointer passed in 'f' either does not exist, or refers to a form that is not in the root form's form stack.