Platforms to show: All Mac Windows Linux Cross-Platform
Back to WinPhotoAcquireOptionsDialogMBS class.
WinPhotoAcquireOptionsDialogMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Please call Initialize.
WinPhotoAcquireOptionsDialogMBS.Create(Window as DesktopWindow) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
This method is for advanced users, which can position the new window via declares.
Window: The parent window.
Returns the handle for the created dialog box.
The Initialize method should be called prior to the Create method.
The parent window provides OK and Cancel buttons to the new dialog box instance.
See also:
WinPhotoAcquireOptionsDialogMBS.Create(Window as Window) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
This method is for advanced users, which can position the new window via declares.
Window: The parent window.
Returns the handle for the created dialog box.
The Initialize method should be called prior to the Create method.
The parent window provides OK and Cancel buttons to the new dialog box instance.
See also:
WinPhotoAcquireOptionsDialogMBS.Create(WindowHandle as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
This method is for advanced users, which can position the new window via declares.
WindowHandle: Handle to the parent window.
Returns the handle for the created dialog box.
The Initialize method should be called prior to the Create method.
The parent window provides OK and Cancel buttons to the new dialog box instance.
See also:
WinPhotoAcquireOptionsDialogMBS.Destroy
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
If you destroy the parent window, the child window will automatically be destroyed.
WinPhotoAcquireOptionsDialogMBS.Initialize(RegistryRoot as String = "")
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Initialize must be called prior to calling Create or DoModal. Failure to do so will cause Create or DoModal to fail.
If Initialize is called while the options dialog box is already displayed, an error will be returned.
RegistryRoot: (optional) String containing the registry root of a custom location to read the acquisition settings from. If this parameter is set to "", the default location will be used.
WinPhotoAcquireOptionsDialogMBS.SaveData
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Some examples using this method:
WinPhotoAcquireOptionsDialogMBS.ShowModal(Window as Window) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Window: The dialog's parent window.
Returns the code returned when the window is closed.
The modal dialog displayed by DoModal will have OK and Cancel buttons, whereas the OK and Cancel buttons of the modeless dialog displayed by Create must be provided by the parent window.
See also:
WinPhotoAcquireOptionsDialogMBS.ShowModal(WindowHandle as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
WindowHandle: Handle to the dialog's parent window.
Returns the code returned when the window is closed.
The modal dialog displayed by DoModal will have OK and Cancel buttons, whereas the OK and Cancel buttons of the modeless dialog displayed by Create must be provided by the parent window.
See also:
The items on this page are in the following plugins: MBS WinFrameworks Plugin.