CaptionText Property
Optional caption (title) text for the self-extractor dialogs.
Syntax
char* GetCaptionText();
int SetCaptionText(char* lpszCaptionText);
Default Value
""
Remarks
This property contains the text which will appear on the title bar of the dialog boxes that appear when running the SDA executable file. If this property is not set, "IP*Works! PG Self Extractor - www.nsoftware.com" will appear in the title bar.
Example (Creating a Self-Decrypting Archive)
class.ArchiveFile = "c:\test.exe" class.RecurseSubdirectories = true class.SourceDirectory = "c:\foo\" class.CaptionText = "Testing SDA" class.BannerText = "Press continue to decompress the archive." class.CreateSDA() class.ArchiveFile = "c:\test.exe" class.SourceFile = "c:\foo\bar.dat" class.CaptionText = "Testing SDA" class.BannerText = "Press continue to decompress the archive." class.CreateSDA()
Data Type
String