XLL+ Class Library

CXllApp::GetSinkEvents

Returns the state of the COM event handler

[C++]
BOOL GetSinkEvents() const;

Return value

Returns TRUE if COM events are being handled.

Remarks

This function returns the state of the COM event handler.

If it is set to TRUE, then the event handlers for COM events will be invoked whenever significant events occur in Excel.

You can specify event handlers by overloading the appropriate virtual function in your derived application class.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::SetSinkEvents()