2D Graphics > Managers > Manager Event Handling > Event Hooks
 
Event Hooks
Event hooks are instances of the IlvManagerEventHook class. They are used to monitor or filter events occurring in all the views associated with the manager. Each manager has a list of event hooks. They can be added or removed from the list using the following IlvManager member functions:
*IlvManager::installEventHook
*IlvManager::removeEventHook
Event hooks are the first ones to get hold of the events occurring in a manager.
When it receives an event, the manager calls the handleEvent member function of each event hook one after the other. If one of them returns IlTrue, the subsequent event hooks are not called and the event is considered to be consumed. If none of the event hooks consume the event, it is dispatched further to interactors or accelerators.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.