[shell-coding] Re: MFC

MFC is a framework designed to make it easy to write common
types of Win32 applications. However, a shell is not a one of
these common types. So MFC's greatest advantage does not
apply. Now we could still use MFC's utility classes (CStrings,
CWnds, CRects, etc.) but these classes are just simple wrappers
around the Win32 API, classes we could easily write ourselves
if we wanted them.

When it comes to the real shell code -- parsing the step.rc,
loading modules, processing tasks and tray icons, etc. -- MFC
doesn't really help because these aren't things that typical
applications do.

When it comes to the stuff that MFC does well like GUIs we
don't need it. The core has very little GUI code in it; most of
the GUI is delegated off to the modules. And even then we
typically don't use standard Win32 GUI elements as they can't
be skinned. We wind up writing our own anyway.

--
Maduin



__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts: