XLL+ Class Library (6.3)

CXllApp::GetComEventHandler

Returns the name of an add-in function to handle a specific COM event

CString GetComEventHandler(
   int nEvent
) const;

Parameters

nEvent

An integer representing the event to be handled. See Remarks below for a list of values.

Return Value

Returns the name of an add-in function to handle a specific COM event. The return string will be empty if no handler has been set.

Remarks

This function returns the name of an add-in function that will be called whenever the specified COM event occurs.

If it is set to the name of an add-in function with the appproriate signature, the function will be called. If the function name is set to an empty string then no special event handling will occur.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::SetComEventHandler()