Special Considerations for SAS/AF Programmers under Windows |
You can substitute your own logo screen and icons in place of those icons 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:
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.
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: Windows.
To use your own icons with your SAS/AF application:
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: Windows.
Select the buttonStyle attribute of the push button to display an icon. You can select the Large Icon from the iconStyle attributes of the push button to enlarge the icon.
Click the ellipses for the value of the icon attribute for the push button to display an icon. The Select Icon window will appear. Icon categories are displayed at the top of the window. Click on the down arrow and then select the User Icons category. The user-defined icons from your resource file will be displayed. Select an icon for your push button.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.