Platforms to show: All Mac Windows Linux Cross-Platform

Back to WinShellItemMBS class.

WinShellItemMBS.Compare(other as WinShellItemMBS, Mode as Integer = 0) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Compares two shell items.

Default mode is to compare display names.
Returns 0 if equal or non-null value if not.

WinShellItemMBS.Constructor(item as folderItem)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Creates new shell item based on a folderitem.

See also:

WinShellItemMBS.Constructor(path as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Creates new shell item based on a path.

See also:

WinShellItemMBS.Operator_Compare(other as WinShellItemMBS) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Compares two shell items.

Returns 0 if equal or non-null value if not.
Compares display name.
This method is called by Xojo when you use = operator on items to compare.

WinShellItemMBS.ReadData as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Utility function to read data from item.

A shell item may not point necessarily to a real file.
This method can read it even if it is not a real file, but still can be opened as IStream.

WinShellItemMBS.Thumbnail(preferredSize as Integer) as Picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Queries thumbnail for item.

preferredSize is the size you'd like to have. Resulting image can be smaller or bigger.
Returns nil on any error.
If user disabled thumbnails for explorer, the shell also provides none for us, just icons.
Requires Windows Vista or newer.

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


The biggest plugin in space...