ResourceImages Object
Description
The ResourceImages object is used to load and access resource themes for the control, such as Office 2007, Office 2007/2010 Ribbon, Office 2010, and Windows 7 appearances.
For a list of all members defined in this module, see ResourceImages Members.
Remarks
ResourceThemeImages is used to tell the control which resource to use for its appearance. This will point to one of the "style" DLLs that dictate the colors used by the control. The "style" DLLs hold images and colors for the specified theme. For example, Office 2007, Office 2007/2010 Ribbon, Office 2010, and Windows 7 appearances are stored in a resource DLL that you need ResourceThemeImages to set these appearances.
ResourceThemeImages allows you to load the Resource Image DLL using LoadFromFile. It also contains the DllFileName and IniFileName.
To utilize these styles, the control must set the theme to xtpColumnResource AFTER the resource DLL has been loaded. The list of supported styles is provided below. In the code sample section, there is a snippet of code to show how to use the Resource themes with each control.
See the Loading a Resource Theme Sample for code snippets.
Supported Styles (as of version 15.0)
- Office2007.dll
- Office2007Aqua.ini
- Office2007Black.ini
- Office2007Blue.ini
-
Office2007Silver.ini
-
Office2010.dll
- Office2010Black.ini
- Office2010Blue.ini
-
Office2010Silver.ini
-
Windows7.dll
- Windows7Blue.ini
Note: You will need to include these DLL files in your installation if you use them.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.