BTW, creating window in C++ constructor is a bad style in MFC.