XLL+ Class Library (7.0)

CXllApp::GetSinkEvents

Returns the state of the COM event handler

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()