Associating Your Own Logo and Icons with Your SASAF Application


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 SAS.

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.

To display your own logo when SAS 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 SPLASHLOC 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 System Option on page 558.

Your logo will display when you start SAS.

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

  1. Use the USERICON system option when you start SAS 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 System Option on page 571.

  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.




SAS 9.1 Companion for Windows
SAS 9.1 Companion for Windows (2 Volumes)
ISBN: 1590472004
EAN: 2147483647
Year: 2004
Pages: 187

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net