| ||||
AddIcon2 methodAdds a custom icon with two sizes to the list of available icons for the Facility. Syntax
ParametersLargeFilePathThe full path of the large version of the icon to add to the Facility. SmallFilePathThe full path of the small version of the icon to add to the Facility. ppIconUpon return, an IERUIcon interface pointer to the newly-added icon. Return value
RemarksThe files you specify with LargeFilePath and SmallFilePath must be a .gif file only. When you add an icon by specifying its full path (for example, c:\icon1.gif), the IERUIcon::FileName property renames the file and returns it as a relative path (such as facilityname//lgcustom1.gif). |
Home |