XLL+ Class Library (7.0)

CXllApp::XllOpenEvent

Gets a reference to the XllOpen event

CXllOpenEvent& XllOpenEvent( );

Return Value

The function returns a reference to the application's XllOpen event, which is of type CXllOpenEvent.

Remarks

The XllOpen event is raised when the XLL is opened, just after OnXllOpenEx() is called. All registered observers receive the event via the CXlEventObserver::Update method.

When observers are notified, an argument of type CXllOpenEventArgs is passed.

Registration

Observers should register for this event early in the life of the XLL. Registration can be done explicitly during CXllApp::InitInstance, or automatically by creating an instance of CXllOpenEventStaticObserver.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | Events | CXllApp::XllCloseEvent() | CXllApp::OnXllOpenEx()