In the C-language Windows API, the programming interface of a dialog box is different from that of a frame window, even though both are defined as windows and identified by an HWND parameter. The Microsoft Foundation classes make all window types look similar because all are derived from the CWnd base class. Microsoft Foundation window classes are truly polymorphic because they give a common programming interface to dissimilar window types.