DlgIcons.exe Dynamically Changes Icons in Modal Dialog

ID: Q74509


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1


SUMMARY

DlgIcons.exe is a sample in demonstrates how to dynamically change an icon in a modal dialog box.


MORE INFORMATION

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:

DlgIcons.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center. The modal dialog box displays an icon by creating a static child window with the SS_ICON style. The lpWindowName parameter to the CreateWindow() function specifies the icon to be displayed. To change the icon, the dialog destroys the child and creates a new child in the same location.

Additional query words:

Keywords : kbfile kbsample kb16bitonly kbDlg kbIcon kbGrpUser kbWinOS310 kbWinOS300
Version : WINDOWS:3.0,3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.