Click here to Skip to main content
16,006,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving Text to a bitmap Pin
Christian Graus6-Sep-01 13:38
protectorChristian Graus6-Sep-01 13:38 
GeneralRe: Saving Text to a bitmap Pin
gordingin6-Sep-01 15:17
gordingin6-Sep-01 15:17 
GeneralRe: Saving Text to a bitmap Pin
Christian Graus6-Sep-01 15:21
protectorChristian Graus6-Sep-01 15:21 
GeneralRe: Saving Text to a bitmap Pin
gordingin6-Sep-01 15:51
gordingin6-Sep-01 15:51 
GeneralMFC question Pin
6-Sep-01 12:44
suss6-Sep-01 12:44 
GeneralRe: MFC question Pin
Christian Graus6-Sep-01 12:56
protectorChristian Graus6-Sep-01 12:56 
GeneralRe: Well, MFC is .... Pin
Masaaki Onishi6-Sep-01 16:13
Masaaki Onishi6-Sep-01 16:13 
GeneralRe: Well, MFC is .... Pin
Christian Graus6-Sep-01 16:31
protectorChristian Graus6-Sep-01 16:31 
MFC consists of the basic three classes like CObject, CWnd, and the other
class not derived from CObject and CWnd, and some classes are derived from
CObject and CWnd.
However, if we read the source code of these classes, we notice that MFC is wrapped by the Widnows API.


Actually CWnd is derived from CCmdTarget, which is derived from CObject. So the majority of MFC classes derive from CObject, but there is a reasonable size group that does not. Serialisation is one reason to derive your own classes from CObject.

2) What does it provide for or do for the programmer?
If we made some GUI application, we at once understand that MFC makes us save the code lines and maintain the code easily.


Agreed - couldn't have said it better ;0)

Basically, Window 32 programming and MFC relation are almost same as C and C++. However, if we make some advanced programming like Network, Window hook,
and the other, we need both MFC and Windows API.


My main reason for replying - I'm afraid this is incorrect. If you look up Window hook in the MSDN, the top two matches are for Windows hooks in Win32. I'd also be amazed if you couldn't write network code without MFC. Given that we're given the MFC source the worst case for someone unable to use MFC for whatever reason is a trip to the source to see how they do it.

MFC is a powerful class for GUI application, but we also need the knowledge
of Windows API.


Again, could't agree more. I don't use MFC anymore, and I'm enjoying learning life without it. Wink | ;)


Christian

As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.

Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
GeneralMFC Implementation and SourceSafe Pin
ArchV6-Sep-01 12:03
ArchV6-Sep-01 12:03 
GeneralRe: MFC Implementation and SourceSafe Pin
Cathy6-Sep-01 12:07
Cathy6-Sep-01 12:07 
GeneralRe: MFC Implementation and SourceSafe Pin
Not Active6-Sep-01 13:47
mentorNot Active6-Sep-01 13:47 
GeneralATL/COM Question Pin
Bret Faller6-Sep-01 9:56
Bret Faller6-Sep-01 9:56 
GeneralRe: ATL/COM Question Pin
Not Active6-Sep-01 10:36
mentorNot Active6-Sep-01 10:36 
GeneralRe: ATL/COM Question Pin
Bret Faller6-Sep-01 11:47
Bret Faller6-Sep-01 11:47 
GeneralDebugActiveProcess Pin
Steve The Plant6-Sep-01 9:52
Steve The Plant6-Sep-01 9:52 
GeneralRe: DebugActiveProcess Pin
Steve The Plant6-Sep-01 10:34
Steve The Plant6-Sep-01 10:34 
GeneralSimple variable question Pin
6-Sep-01 7:52
suss6-Sep-01 7:52 
GeneralRe: Simple variable question Pin
Ravi Bhavnani6-Sep-01 8:12
professionalRavi Bhavnani6-Sep-01 8:12 
GeneralRe: Simple variable question Pin
6-Sep-01 8:33
suss6-Sep-01 8:33 
GeneralRe: Simple variable question Pin
Christian Graus6-Sep-01 12:57
protectorChristian Graus6-Sep-01 12:57 
GeneralUsing CFormView with CSlpitterWnd Pin
6-Sep-01 7:49
suss6-Sep-01 7:49 
GeneralRe: Using CFormView with CSlpitterWnd Pin
Not Active6-Sep-01 10:48
mentorNot Active6-Sep-01 10:48 
GeneralRe: Using CFormView with CSlpitterWnd Pin
7-Sep-01 7:29
suss7-Sep-01 7:29 
GeneralRe: Using CFormView with CSlpitterWnd Pin
Brad Bruce7-Sep-01 15:09
Brad Bruce7-Sep-01 15:09 
GeneralSet ODBC DSN when setup. Pin
6-Sep-01 7:45
suss6-Sep-01 7:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.