SetTemplateBinDir method |
|
Remarks Sets a directory from which the extended templates, created using the SaveTemplateEx method and loaded using the LoadTemplateEx method, will take the binary files for pictures, textures, sounds and cursor. Usually extended templates store binary files pathnames that are relative to the machine used to develop the application: these pathnames will be probably invalid when the application runs over the target machine. Using this method, only the binary filename will be taken from the extended template and appended to the strFilepath parameter in order to obtain the target machine directory: usually this directory is created by the application setup program. It is recommended that you call this method for every kind of binary file that has been stored inside the extended template. For further information about button templates support see How to manage button templates
Syntax Visual Basic control.SetTemplateBinDir (nType as enumTplBinaryTypes, strFilepath as String)
Visual C++ void control.SetTemplateBinDir (short nType, LPCTSTR strFilepath);
|