Click here to Skip to main content
15,895,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWin32 to MFC header file problem Pin
jdgonko3-Jan-04 14:57
jdgonko3-Jan-04 14:57 
GeneralRe: Win32 to MFC header file problem Pin
Michael Dunn3-Jan-04 16:43
sitebuilderMichael Dunn3-Jan-04 16:43 
GeneralRe: Win32 to MFC header file problem Pin
jdgonko3-Jan-04 18:58
jdgonko3-Jan-04 18:58 
GeneralRe: Win32 to MFC header file problem Pin
Steve S5-Jan-04 1:29
Steve S5-Jan-04 1:29 
QuestionHow can I activate software? Pin
DanYELL3-Jan-04 14:21
DanYELL3-Jan-04 14:21 
GeneralBeginner Problem Pin
azazel3-Jan-04 11:17
azazel3-Jan-04 11:17 
GeneralRe: Beginner Problem Pin
DanYELL3-Jan-04 14:14
DanYELL3-Jan-04 14:14 
GeneralRe: Beginner Problem Pin
Anonymous3-Jan-04 18:59
Anonymous3-Jan-04 18:59 
"I have a sound understanding of C++. I have tried to learn programming in Visual C++..."

Here is a really basic overview.

I will assume you have started with learning "generic C++". That is to say, C++ language fundamentals without platform/compiler bias. This allows you to build console based applications with any modern C++ compiler on any modern operating system (OS).

If you want to write applications with a graphical user interface (GUI) then your application requires "help" from the OS to create the application window and everything that goes in it. The application and OS communicate through the application programming interface (API) specific to the OS and usually through some messaging system. The APIs for Windows and Linux are comprised of a very large number functions that can be directly called from C/C++ applications.

The Windows and Linux APIs do not follow the C++ class model. So to make things easier, various third parties have wrapped the APIs into logical C++ classes. Examples are MFC for Windows and TrollTech's Qt cross platform library.

In my opinion, it is very difficult to start using MFC directly without any knowledge of how to write a Windows GUI app using the Win32 API directly. Some basic understanding of the Win32 API will go a long way in learning to use MFC.

A few comments about your comment of "programming in Visual C++". Visual C++ (VC) is a combination of the the Microsoft C/C++ compiler and the visual studio integrated development environment (IDE) which includes a debugger. The latest VC (7.1) adheres very closely to the ISO/ANSI C++ standard. In other words, if you have an understanding of generic C++, you should be able to "program in Visual C++". I am assuming what you meant by that phrase was "writing a Win32 GUI application". FYI...there are Microsoft specific "language extensions" which are not part of "generic C++". These language extensions are not required unless you plan on using the .Net framework or do a few other things.

...So I would recommend picking up a copy of "Programming Windows" by Charles Petzold and then decide from there if you want to go the MFC, .NET, or Qt route. Good luck.
GeneralMonitoring all text drawn Pin
Anonymous3-Jan-04 11:03
Anonymous3-Jan-04 11:03 
GeneralRe: Monitoring all text drawn Pin
alex.barylski3-Jan-04 12:01
alex.barylski3-Jan-04 12:01 
GeneralDirectplay game bot Pin
Kuniva3-Jan-04 10:57
Kuniva3-Jan-04 10:57 
GeneralAccelerator keys don't show up Pin
Member 7908543-Jan-04 10:28
Member 7908543-Jan-04 10:28 
GeneralRe: Accelerator keys don't show up Pin
Member 7908543-Jan-04 10:52
Member 7908543-Jan-04 10:52 
GeneralNeed help with key logger (?) Pin
Snyp3-Jan-04 9:00
Snyp3-Jan-04 9:00 
GeneralRe: Need help with key logger (?) Pin
abc8763-Jan-04 9:20
abc8763-Jan-04 9:20 
GeneralRe: Need help with key logger (?) Pin
Jörgen Sigvardsson4-Jan-04 4:21
Jörgen Sigvardsson4-Jan-04 4:21 
GeneralDialog based SDI Pin
TolTol3-Jan-04 7:22
TolTol3-Jan-04 7:22 
GeneralRe: Dialog based SDI Pin
abc8763-Jan-04 8:56
abc8763-Jan-04 8:56 
GeneralRe: Dialog based SDI Pin
TolTol3-Jan-04 9:41
TolTol3-Jan-04 9:41 
GeneralWindows system font size Pin
zwergerl3-Jan-04 6:18
zwergerl3-Jan-04 6:18 
GeneralProblems getting client area screen coordinates Pin
doomgaze3-Jan-04 6:08
doomgaze3-Jan-04 6:08 
GeneralVisual Studio 2003 - C++ Pin
Runka3-Jan-04 5:44
sussRunka3-Jan-04 5:44 
GeneralRe: Visual Studio 2003 - C++ Pin
valikac3-Jan-04 5:48
valikac3-Jan-04 5:48 
GeneralRe: Visual Studio 2003 - C++ Pin
runka5-Jan-04 2:05
sussrunka5-Jan-04 2:05 
Questionhow to start an application and wait for its end Pin
gaxxx3-Jan-04 4:26
gaxxx3-Jan-04 4:26 

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.