This method checks whether a particular control is on a form.
HRESULT IsControlOnForm( IDispatch *pdispControl );
NOERROR indicates success. E_INVALIDARG indicates that an invalid argument was entered. S_FALSE indicates that a particular control is not on the form.