IInitEventHandler Interface

InfoPath Developer Reference

The interface that must be implemented in the host application to handle the event that occurs when a form is loaded in the InfoPathEditor object, which is hosted in a custom application.

Version Information
 Version Added:  InfoPath 2007

Remarks

The InitEventHandler function of the InfoPathEditor object is where custom code should be located to handle the initialization of a form.

The IInitEventHandler interface is not intended to be used in custom form code. It is available for use when the InfoPathEditor object is hosted in a custom COM-based application. For more information, see Hosting InfoPath as an XML Editor in Another Application and What's New for InfoPath Developers.

See Also