Platforms to show: All Mac Windows Linux Cross-Platform

WinPhotoAcquireDeviceSelectionDialogMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows Photos MBS WinFrameworks Plugin 20.3 No Yes No No Desktop only
Function: Provides a dialog box for selecting the device to acquire images from.

Feedback, Comments & Corrections

  • 3 properties
  • 4 methods
    • method Constructor
    • method Destructor
    • method ShowModal(Window as Window, DeviceFlags as Integer, byref deviceID as String, byref DeviceType as Integer) as boolean
    • method ShowModal(WindowHandle as Integer, DeviceFlags as Integer, byref deviceID as String, byref DeviceType as Integer) as boolean
  • 17 constants

Device Flags

Constant Value Description
DeviceFlagAllDevices &hFFFF Show all devices.
DeviceFlagCPLMode &h10000 Show CPL devices.
DeviceFlagDVDevices 64 Show digital video camera devices.
DeviceFlagFSDevices 32 Show removable storage devices, such as CD drives or card readers.
DeviceFlagShowOffline &h20000 Show devices that are offline. Not supported by all device types.
DeviceFlagSTIDevcies 8 Show devices of type Still Image Architecture (STI).
DeviceFlagTWAINDevices 16 Show TWAIN devices.
DeviceFlagWIACameras 2 Show cameras of type Windows Image Acquisition (WIA).
DeviceFlagWIAScanners 4 Show scanners of type Windows Image Acquisition (WIA).
DeviceFlagWPDDevices 1 Show devices of type Windows Portable Devices (WPD).

Device Types

Constant Value Description
DeviceTypeDV 6 DV device.
DeviceTypeFS 5 Specifies that the selected device is a removable drive in the file system.
DeviceTypeSTI 3 Specifies that the type of the selected device is Still Image Architecture (STI).
DeviceTypeTWAIN 4 TWAIN device
DeviceTypeUnknown 0 pecifies that the type of the selected device is unknown.
DeviceTypeWIA 2 Specifies that the type of the selected device is Windows Image Acquisition (WIA).
DeviceTypeWPD 1 Specifies that the type of the selected device is Windows Portable Devices (WPD).

This class has no sub classes.

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS WinFrameworks Plugin.


WinNotificationMBS   -   WinPhotoAcquireItemMBS

The biggest plugin in space...




Links
MBS Xojo tutorial videos