Gets a reference to the XllOpen event
CXllOpenEvent& XllOpenEvent( ); |
The function returns a reference to the application's XllOpen event, which is of type CXllOpenEvent.
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.
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.
Header: xllplus.h
CXllApp Class | CXllApp Methods | Events | CXllApp::XllCloseEvent() | CXllApp::OnXllOpenEx()