XLL+ Class Library (7.0)


Gets a reference to the XllClose event

CXllCloseEvent& XllCloseEvent( );

Return Value

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


The XllClose event is raised when the XLL is closed, just before OnXllClose() is called. All registered observers receive the event via the CXlEventObserver::Update method.


Observers can be registered explicitly at any time during the life of the XLL, or automatically by creating an instance of CXllCloseEventStaticObserver.


Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | Events | CXllApp::XllOpenEvent() | CXllApp::OnXllClose()