Problem: Certain event members are not fired for IActiveViewEvents of a SceneGraph


Listeners of the AfterDraw, ViewRefreshed and AfterItemDraw members of IActiveViewEvents, tied to a SceneGraph, will never be called.


The IActiveViewEvents interface has its uses for ArcMap and ArcScene; thus, it is a good idea to use the same interface in both applications. But some members of IActiveViewEvents are inappropriate for ArcScene because of the nature of its dynamic display. Firing events on every re-paint would reduce performance, so it is not done.

Solution or Workaround

For AfterDraw and ViewRefreshed events, you can use the AfterDraw event in the ISceneGraphEvents interface.

There is nothing you can do for AfterItemDraw, as it would gravely reduce performance if used in an interactive 3D viewing environment.