Article View: comp.os.ms-windows.programmer.tools
Article #86Re: Has anyone extended class objects from MFC?
From: David Moore
Date: Tue, 04 Aug 1992 03:12
Date: Tue, 04 Aug 1992 03:12
13 lines
1201 bytes
1201 bytes
yklo@iti.gov.sg (Lo Yoong Khong (SE)) writes: >Has anyone tried to design object classes (like tables, figures such as rectangles, etc) from >MFC? Do you suggest to derive such classes from CWnd or CObject? CObject has no >repainting capabilities, which means I would have to implement them for myself. And the >documentation seems to recommend extending user objects only from CObject. I have extended CFrameWnd with no problems, except that I could not seem to get incremental message map handling to work; if I set up a message map in an intermediate level class, it seems to get ignored. If someone knows why this is (the doc on message maps is either somewhere where I have not found it yet, or else is limited to the information in the tutorial manual) and how to get round it, I would very much like to know.
Technical Details
Message-ID:
<davidm.712897950@voltaire>Path:
arc1-ca.pugleaf.net!sparky!uunet!iphasew!igor!voltaire!davidmReferences:
<1992Aug1.005901.28621@iti.gov.sg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!iphasew!igor!voltaire!davidm From: davidm@voltaire.Rational.COM (David Moore) Newsgroups: comp.os.ms-windows.programmer.tools Subject: Re: Has anyone extended class objects from MFC? Message-ID: <davidm.712897950@voltaire> Date: 4 Aug 92 03:12:30 GMT References: <1992Aug1.005901.28621@iti.gov.sg> Sender: news@Rational.COM Lines: 13