LockUnlockDialogOptions
- Updated2025-07-21
- 1 minute(s) read
LockUnlockDialogOptions
These constants represent the options you can use with the options parameter of the Engine.DisplayLockUnlockDialog method. Use the bitwise-OR operator to specify more than one option.
- LockUnlockDialogOption_HideRememberPasswordControls –(Value: 4) Specifies that the dialog box does not display the control that provides the option to remember the password when unlocking a file.
- LockUnlockDialogOption_Lock –(Value: 1) Specifies to launch a dialog box that prompts for a password to perform a lock operation. This option is ignored if you are attempting to lock a specific object.
- LockUnlockDialogOption_ModalToAppMainWind –(Value: 0x10000) By default, the dialog box is modal to the last active window of the calling thread, or if none exists, to the last active window from AppMainHwnd. If you enable this option, the dialog box is modal with respect to the window handle of the Engine.AppMainHwnd property. Typically, you do not need to set this option.
- LockUnlockDialogOption_None –(Value: 0) Specifies to lock or unlock the object depending on the locked state of the object.
- LockUnlockDialogOption_Unlock –(Value: 2) Specifies to launch a dialog box that prompts for a password to perform an unlock operation. This option is ignored if you are attempting to unlock a specific object.