IASForm::Add

This method adds a control to the form.

Syntax

HRESULT Add( IDispatch *pdispControl, short wID );

Parameters

pdispControl
Pointer to the control to be added.
wID
Short integer that contains the identifier of the control.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.