                                 MULTICON
                                 --------

This code sample demonstrates how to implement dynamic icons for both 
CMDIChildWnd's and CMDIFrameWnd's.  The procedure is to first register a
window class with a NULL icon for the frame.  A frame of this type will
receive WM_PAINT messages when it becomes iconic, and can output to a
36 x 36* pixel area.  To prevent duplicating output code from the view,
the frame can call it's view's OnDraw member to do the output.

Two simple view classes are used to demonstrate dynamic icons, CRectView and
CEllipseView.  These classes draw a random rectangle and a random ellipse,
respectively.  CWinApp::OnIdle is overriden to invalidate each open view,
and each minimized frame window.  The sample also demonstrates how to scale
the output from an open view to fit a minimized frame, and how to convert
the minimized frame's output to an icon during a drag operation. 


Feature                                        Locations(s)
-------                                        ------------

How to...                                                        

Generate random rectangles ................... RECTVIEW.CPP
                                                 CRectView::OnDraw           

Generate random ellipses ..................... ELLPSEVW.CPP:
                                                  CEllipseView::OnDraw

Register a window class with a NULL                 
icon ......................................... MAINFRM.CPP:
                                                  CMainFrame::PreCreateWindow

Render on a minimized CMDIFrameWnd using the
application's active view ....................... CMainFrame::OnPaint

Convert the display of a minimized
CMDIFrameWnd to an icon ......................... CMainFrame::QueryDragIcon

Enable OnIdle processing while a menu or
modal dialog is displayed ....................... CMainFrame::OnEnterIdle


Render on a minimized CMDIChildWnd using the   ICONWND.CPP:
associated view ................................. CIconWnd::OnPaint


Convert the display of a minimized 
CMDIChildWnd to an icon ......................... CIconWnd::QueryDragIcon                    

Drive animated views and icons in the          MULTICON.CPP:
background ...................................... CMulticonApp::OnIdle

 