🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
2 messages
2 total messages Started by Lo Yoong Khong (SE) Sat, 01 Aug 1992 00:53
Has anyone extended class objects from MFC?
#151
Author: Lo Yoong Khong (SE)
Date: Sat, 01 Aug 1992 00:53
17 lines
1170 bytes
Hi:

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.


---
+------------------------------------------------------+
Name   : Lo, Yoong-Khong                 
Company: Information Technology Institute  
         National Computer Board, Singapore 
Email  : yklo@iti.gov.sg  or yoongkhong@itivax.bitnet
Fax    : (65)779-5966
+------------------------------------------------------+
Re: Has anyone extended class objects from MFC?
#163
Author: Steven Sinofsky
Date: Sat, 01 Aug 1992 20:07
29 lines
1409 bytes
If you are implementing a class that is a Windows window, the it
should be derived from the CWnd (or maybe CFrameWnd or CMDIFrameWnd) class.


In article <1992Aug1.005301.28493@iti.gov.sg> yklo@iti.gov.sg writes:
>
>Hi:
>
>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.
>
>
>---
>+------------------------------------------------------+
>Name   : Lo, Yoong-Khong                 
>Company: Information Technology Institute  
>         National Computer Board, Singapore 
>Email  : yklo@iti.gov.sg  or yoongkhong@itivax.bitnet
>Fax    : (65)779-5966
>+------------------------------------------------------+
>


-- 
Steven Sinofsky
stevesi@microsoft.com
Disclaimer: I don't speak for Microsoft, BillG does that.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads