Chapter Contents


SAS Companion for the Microsoft Windows Environment

Associating Your Own Logo and Icons with Your SAS/AF Application

You can substitute your own logo screen and icons in place of those provided by the SAS System.

Note:   These procedures involve creating resources for and building your own dynamic link libraries (DLLs). For more information on creating DLLs, see the Microsoft Win32 Software Development Kit.  [cautionend]

To display your own logo when the SAS System starts:

  1. Create the logo you want to display and save it either as a Windows bitmap (which has a BMP file extension), or compile it as resource and build it into a DLL.

  2. When you invoke SAS, specify the SPLASHLOCATION option with the full pathname of the file that contains your bitmap. If the bitmap is in a DLL, be sure to specify the resource number as well. The default resource number is 1. For more information, see SPLASHLOC.

Your logo will display when you start the SAS System.

To use your own icons with your SAS/AF application:

  1. Use the USERICON system option when you start the SAS System to specify the resource file that contains the icons you want to include. You must use the Windows software development tool to compile the resource file. For more information about the USERICON option, see USERICON.

  2. Use SAS/AF software to create a FRAME entry.

  3. On the FRAME entry, select Make from the popup menu. (Alternatively, you can create a region and then select Fill from the popup menu.)

  4. Select Icon from the selection list.

  5. From the Icon Attributes display, select the Current Icon button.

  6. Select the User-defined radio button to display the icons in your resource file.

  7. From the Select an Icon display, choose the icon you want to use. If there are more icons than will fit in the window, use the scrollbars to see the rest of the icons.

Chapter Contents



Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.