General information
Category:
Coding, syntax & commands
.
>
>And David, I thought that the whole premise of both Windows and Objects *IS* the passing of messages to/fro. I cannot see how this would "break" encapsulation.
passsing msgs - yes but not calling direct methods
other object shouldn't know or care about the internal workings of other objects
What we implemented here is to add a single method (called DISPATCH) to all objects and have objects pass msgs to each other using this method
this way if some object does not know how to handle a message it gets it just doesn't do anything etc.
Arnon
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only