It's MFC code.
Remember also that MFC is quite old. It reinvents a lot of stuff that C++ now supports natively, but back in the day, C++ did not support. That is why, sometimes, it can be a lot of code.
This is a discussion on How do I use MFC in Visual C++ 2008? within the Windows Programming forums, part of the Platform Specific Boards category; It's MFC code. Remember also that MFC is quite old. It reinvents a lot of stuff that C++ now supports ...
It's MFC code.
Remember also that MFC is quite old. It reinvents a lot of stuff that C++ now supports natively, but back in the day, C++ did not support. That is why, sometimes, it can be a lot of code.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^