Start Learning MFC from the Ground Up
(Dec 15, 2006)
I start learning MFC today from the most basic things. The first things I want to make note is some simple, yet important functions:
1. TextOut() [CDC] put string to a window
2. CBitMap::LoadBitMap()
3. ShowWindow() [CWnd]
4. AfxMessageBox()
However, when I tried to build a simple MFC program, I found it was difficult to get to the point if we used 'New-project Wizard' and asked it to create MFC program. The best way for this is
(Dec 15, 2006)
I start learning MFC today from the most basic things. The first things I want to make note is some simple, yet important functions:
1. TextOut() [CDC] put string to a window
2. CBitMap::LoadBitMap()
3. ShowWindow() [CWnd]
4. AfxMessageBox()
However, when I tried to build a simple MFC program, I found it was difficult to get to the point if we used 'New-project Wizard' and asked it to create MFC program. The best way for this is
- Start with Win32 Application
- Go to project properties and change 'Use of MFC' to shared or static library (depending on your own preference)