CWnd Class is part of MFC library and provides the base functionality of all window classes.
CWnd Class is part of MFC library and provides the base functionality of all window classes.
A CWnd object is distinct from a Windows window, but the two are tightly linked. A CWnd object is created or destroyed by the CWnd constructor and destructor. The Windows window, on the other hand, is a data structure internal to Windows that is created by a Create member function and destroyed by the CWnd virtual destructor.