Archive for the ‘MFC’ Category

About BOOL, BOOLEAN and bool on Windows

Well, this was what I wondered when I used MFC/Win32 a lot when I was a sophormore. Why are there so many boolean type on Windows? And why did people at MS made such many boolean type? Well, actually they are not new. They are just alias of int and char, or BYTE.
In C, there [...]

Continue reading »

MFC problems

There are a few subjects I would like to write about MFC and would like to compare Cocoa and MFC. I know that it is not fair to compare Cocoa and MFC, because MFC was designed at the time of ToolBox of System x. However, Cocoa was also designed at almost similar time at NeXT.
However, [...]

Continue reading »

Visual C++ 2008 resource editing and control variable annoyance

Hmmm.. It was strange that VC++ 2008 add variables wizard didn’t let a “value” variable of a radio button. With VC++ 6, it was possible as far as I remember.
So, I searched to find out what changed since VC++ 6.
What I found are :

Visual Studio 2005의 DDX 매크로 문제
MSDN : Assign a variable to a [...]

Continue reading »

Choice of method name : MFC and Cocoa

MFC and Cocoa have very different philosophy about programming model. The MFC is a wrapper of Win32 API and data types, while the Cocoa is written from the scratch to present new programmng model.
To me, writing with Cocoa has always been eaiser because Cocoa has understandable method names and so on.
Let’s take a look at [...]

Continue reading »