XLL+ Class Library (6.3)

IXllRtdFeedCallback::OnTopicRemoved

Called by the RTD server whenever a topic has been removed from the RTD server's list of active topics.

virtual bool OnTopicRemoved(
   LPCWSTR lpszClient,
   LPCWSTR lpszTopic,
   long lTopicID
);

Parameters

lpszClient

A pointer to a null-terminated unicode string containing the name of the client. This will always be the same as the value passed in CXllRtdFeedServerProxy::RegisterClient().

lpszTopic

A pointer to a null-terminated unicode string containing the topic about which Excel requires information.

lTopicID

The numeric topic identifier assigned by Excel for this topic.

Remarks

This call will occur after the last cell range that uses the topic is removed, closed, or for any other reason ceases to be connected to the specified topic - for instance because an argument to a formula has changed, and therefore the topic has changed.

The call is not guaranteed to come immediately after the topic becomes unused. Excel controls the timing.

Requirements

Header: XllRtdFeedServerProxy.h

See Also

IXllRtdFeedCallback Class | IXllRtdFeedCallback Methods