SaveAsSecurity
Previous Top Next


Function SaveAsSecurity(int enabled)

This function allows you to disable an application's ability to display the SaveAs dialog box. This can be useful when packaging data + application and you want to prevent the user from saving the file at a different location. When the application attempts to open a SaveAs dialog box, Thinstall will display a message to the user and return "no selection" to the application. You can cusomize the message displayed to the user (or translate it into other languages) by editing your configuration file.

Parameters

enabled
[in] A value of 0 disables SaveAs security, and the application will be able to be open the SaveAs dialog box
A value of 1 enables SaveAs security, and the application's request open the SaveAs dialog box will always return "no selection"

Return Values
This function has no return value