ImageEn, unit iexFolderMView

TImageEnFolderMView.ShowDevices

TImageEnFolderMView.ShowDevices


Declaration

property ShowDevices: Boolean;


Description

Enable to display connected cameras and other devices when the "My PC" folder is visible. The device can be navigated like a standard drive.

Default: False


Demo

Demo  Demos\ImageAcquisition\PortableDevicesBrowser\WPDBrowser.dpr


Example

// Show Devices only
IEFolderMView1.LockUpdate();
IEFolderMView1.ShowDevices := True;
IEFolderMView1.EnableSpecialFolders := False; // top folder is Devices
IEFolderMView1.Folder := IEF_Connected_Devices;
IEFolderMView1.UnlockUpdate();

// Show drives and connected devices
IEFolderMView1.ShowDevices := True;
IEFolderMView1.Folder := IEF_Drives_Folder;


See Also

FileIsWPDItem
IEF_Connected_Devices