[comp.windows.ms.programmer] C++/Views virtual HDC getHndl

pena@fuug.fi (Olli-Matti Penttinen) (05/27/91)

Curiously enuff,

Class Display declares getHndl() to be virtual, and classes

        Bitmap : public Display
        Window : public Display
        Printer : public Display

all redeclare the method. Does anybody know the reason, and
furthermore, should I do something similar when I derive classes
MDIFrameWindow, MDIClientWindow and MDIChildWindow to support the
multiple document interface?

I'm using CNS C++/Views For Microsoft Windows v1.13.

Thanks in advance,

==pena
--
Olli-Matti Penttinen <pena@brainware.fi>
Brainware Oy                      "When in doubt, use brute force."
Tekniikantie 17                      --Ken Thompson
02150  ESPOO, Finland   Tel. +358 0 4375 320   Fax. +358 0 4553 117