Returns the name of an add-in function to handle a specific COM event
CString GetComEventHandler( int nEvent ) const; |
An integer representing the event to be handled. See Remarks below for a list of values.
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.
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.
Header: xllplus.h
CXllApp Class | CXllApp Methods | CXllApp::SetComEventHandler()