Re: Composite. Again!

From: Ilja Preuss (ilja.preuss_at_web.de)
Date: 04/08/04


Date: Thu, 8 Apr 2004 21:04:18 +0200


> Now the programmer can choose. He can put several views into a window,
> or he can create a CompositeView class that manages multiple views as a
> unit, and only put _that_ into the window.

Yes. Of course now the question becomes: Which of the two solutions *should*
a programmer use (and when).

BTW, if I were the programmer of both the Window/View classes *and* their
clients, I would wait implementing the "multiple views per window" approach
until I decided that I want to actually use it.

Cheers, Ilja



Relevant Pages

  • Re: Composite. Again!
    ... "Ilja Preuss" wrote: ... >> or he can create a CompositeView class that manages multiple views as a ... > a programmer use. ...
    (comp.object)
  • Re: GDI questions...
    ... just one window, unless that window covered the whole screen. ... >> programmer I can be. ... >> skills and knowledge to write such a mirror device, ... I cannot find anyone with the skills to do this that also has the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: GDI questions...
    ... just one window, unless that window covered the whole screen. ... >> programmer I can be. ... >> skills and knowledge to write such a mirror device, ... I cannot find anyone with the skills to do this that also has the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: GDI questions...
    ... just one window, unless that window covered the whole screen. ... >> programmer I can be. ... >> skills and knowledge to write such a mirror device, ... I cannot find anyone with the skills to do this that also has the ...
    (microsoft.public.win32.programmer.gdi)
  • Re: MDI in MFC, Conceptually
    ... render the BMP file data in a window and this is typically ... points to the new file data, the new window renders the second image, ... This behavior makes sense if your App contains two ... >> And I can have multiple instances of each type. ...
    (microsoft.public.vc.mfc.docview)