IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

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_SDA_CAPTIONTEXT 3

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_SDA_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_SDA_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 SDA executable file. If this property is not set, "IPWorks 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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 C++ Edition - Version 20.0 [Build 8249]