IASControl::put_Parent

This method sets the parent of a control.

Syntax

HRESULT put_Parent( IDispatch *pdispParent );

Parameters

pdispParent
Pointer to the control’s parent.

Return Values

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

Remarks

An application should not call this method directly. This method is called internally when you associate a control with a form.

See Also

IASControl::get_Parent