CMvcViewport::RouteEvent
BOOL CMvcViewport::RouteEvent(IEvent* pIEventPointer)
Routes event objects to event listeners.
Defined in: MvcViewport.h
Return Value
TRUE if event handled by at least one listener; otherwise FALSE.
Parameters
pIEventPointer
Pointer to event object to route.
Comments
If the event is a MouseEvent
, the viewport verifies that it occurred
within its bounds. Mouse events that occur outside of the viewport bounds
are ignored. If a controller is connected to the viewport, the viewport then
passes the event to the controller by calling MvcController_T::HandleEvent
on the controller.