Path: 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: 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 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 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