




The following example extends the previous one by deriving a new notification class to carry additional information. The class, TShapeNotification, will contain a copy of the shape that was added or removed. TShapeView uses this additional information to invalidate only this area.
NOTE  A copy of the shape is passed, rather than a pointer, because the semantics of TNotification require that notifications are capable of streaming across address spaces.
A copy of the shape is passed, rather than a pointer, because the semantics of TNotification require that notifications are capable of streaming across address spaces.
 Click the icon to mail questions or corrections about this material to Taligent personnel.
Click the icon to mail questions or corrections about this material to Taligent personnel.