Re: NEWERA - multiple windows
Posted in 1997
Timothy M. Hood wrote: > > Mike Ripley wrote: > } > } WINA is my start window. From it I can call WIN1 to WIN9 so I include > } the ".4gh" of all these windows in WINA. But WIN7 may want to call WIN3 > } directly so I include "WIN3.4gh" in WIN7. Should I include all my ".4gh" > } in all my programs to cover every eventuality or is there a simpler > } way?. > } > From memory: > > Include a file that includes all the .4gh files. Not a clean implementation. Not at all object oriented. Think of WINA as the parent or root window. From memory, all objects must be attached to a window? (Has this changed?) The idea is that if win3 needs to address win7, it calls WINA requesting the object id for win7 then passes the message to win7. The paradigm is to follow the hierarchy of a tree. If I don't know the answer, I ask my parent if they know the answer. You follow the tree until the root object says no, or returns the requested information. I don't know if this works in N.E. but its the theory behind OO App development. -- #include <std_disclaimer.h> /* Mike Segel (MS385) */ #include <No_Spam.h> #ifdef OFFENDED_BY_CONTENT The author takes no responsibility for this post. Any resemblence to a coherent rational thought is purely coincidence. -The Management. #endif