🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2984

C++/Views virtual HDC getHndl(), why?

#2984
From: Olli-Matti Penttinen
Date: Mon, 27 May 1991 13:05
23 lines
1217 bytes
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
Technical Details
Message-ID: <PENA.91May27150517@fuug.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!news.funet.fi!fuug!fuug.fi!pena

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!news.funet.fi!fuug!fuug.fi!pena
From: pena@fuug.fi (Olli-Matti Penttinen)
Newsgroups: comp.windows.ms.programmer
Subject: C++/Views virtual HDC getHndl(), why?
Message-ID: <PENA.91May27150517@fuug.fi>
Date: 27 May 91 13:05:17 GMT
Sender: usenet@fuug.fi (USENET News System)
Reply-To: pena@brainware.fi
Distribution: comp
Organization: Finnish UNIX Users Group, Finland
Lines: 23
Nntp-Posting-Host: fuug.fi