CaptionText Property
Optional caption (title) text for the self-extractor dialogs.
Syntax
ANSI (Cross Platform) char* GetCaptionText();
int SetCaptionText(const char* lpszCaptionText); Unicode (Windows) LPWSTR GetCaptionText();
INT SetCaptionText(LPCWSTR lpszCaptionText);
@property (nonatomic,readwrite,assign,getter=captionText,setter=setCaptionText:) NSString* captionText; - (NSString*)captionText; - (void)setCaptionText:(NSString*)newCaptionText;
#define PID_ZIPSFX_CAPTIONTEXT 3 IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_ZipSFX_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_ZipSFX_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains the text which will appear on the title bar of the dialog boxes that appear when running the SFX executable file. If this property is not set, "IPWorks Zip Self Extractor - www.nsoftware.com" will appear in the title bar.
Example (Creating a Self-Extracting Archive)
class.ArchiveFile = "c:\test.exe" class.RecurseSubdirectories = true class.SourceDirectory = "c:\foo\" class.CaptionText = "Testing ZipSFX" class.BannerText = "Press continue to decompress the archive." class.CreateSFX()
Data Type
String