Handling Origin Object Events

Event macros for origin object events include:


Macro Description
ON_LAYER_DESTROY(_ocHandler) When destroy one layer the function _ocHandleris run. _ocHandler has the prototype:
BOOL ''_ocHandler''( Layer lay, DWORD dwCntrl );
ON_GROBJ_DESTROY(_ocHandler) When destroy one graph object the function _ocHandleris run. _ocHandler has the prototype:
BOOL _ocHandler( GraphObject go, DWORD dwCntrl );