MULTICON Demonstrates Dynamic Icons (113251)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 1.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 4.0
This article was previously published under Q113251 SUMMARY The MULTICON sample demonstrates how to implement dynamic
icons for both CMDIChildWnd and CMDIFrameWnd windows. The procedure is to first
register a window class with a NULL icon for the frame. A frame of this type
receives 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 its view's OnDraw member to do the output.
NOTE: Dynamically animated application icons will not work on Windows
95 and versions of Windows NT after 3.51.
Modification Type: | Minor | Last Reviewed: | 8/9/2004 |
---|
Keywords: | kbdownload kbfile kbMDI kbsample KbUIDesign KB113251 |
---|
|