forlang.hlp (Table of Contents; Topic list)
Using Custom Icons
                                             Up Contents Index Back
─────Using Custom Icons─────────────────────────────────────────────────────
 
     The QuickWin run-time library provides default icons for your
     application and its child windows. Windows displays these icons
     when the user minimizes the application's frame window or its
     child windows.
 
     You can add custom-made icons to your executable file, and
     Windows will display them instead of the default icons.
 
     To add icons to your QuickWin program, follow these steps:
 
     1. Create the icon files, using SDKPaint (provided with the
        Microsoft Windows Software Development Kit) or a similar
        tool.
 
     2. Create a resource script with the contents
 
            FRAMEICON ICON frame.ico
            CHILDICON ICON child.ico
 
        where frame.ico and child.ico are the names of the files
        containing the frame and child icons.
 
        The icon resources must have the resource names FRAMEICON
        and CHILDICON.  (NOTE:  You do not have to include
        both icons.)
 
     3. Using the Microsoft Windows Resource Compiler provided with
        the Microsoft Windows Software Development Kit, compile the
        icon resources and add them to your executable file.
                                    -♦-