Visual Max Frame Professional implements the Hook design pattern to customize features at runtime without subclassing.
Store a single object reference in the custom property "iohook" and now you can check for a "hooked" object, which in turn can point to another object's iohook property and chain them.
This way you can extend an object's functionality by whatever PEMs are contained in the hook object. Typically, hook objects are instances of custom classes with special behaviors that are only needed in certain situations.
Contributors: Alex Feldstein
Category Visual Max Frame Professional
( Topic last updated: 1999.09.05 08:39:07 AM )