Window Classes

The Microsoft Foundation window classes are the key building blocks in a Windows application. These classes have member functions for processing Windows notification messages as well as messages from other classes. Some member functions communicate directly with Windows itself. An active C++ window object contains a Windows HWND.

You will usually derive classes from the frame and child base classes. You can use most of the other window classes directly.

Base Class

CWnd The base class for all windows.  

Frame and Child Windows

CFrameWnd The main window base class for the single document interface (SDI) frame window.  
CMDIFrameWnd The base class for the multiple document interface (MDI) frame window.  
CMDIChildWnd The base class for MDI child windows.  

Dialog Windows

CDialog The base class for modeless dialog windows.  
CModalDialog The base class for modal dialog windows.  

Control Windows

CButton Button control windows.  
CComboBox Combo-box control windows.  
CEdit Edit control windows.  
CListBox List-box control windows.  
CScrollBar Scroll-bar control windows.  
CStatic Static control windows.