Platforms to show: All Mac Windows Linux Cross-Platform

WindowsFolderChangeMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Folder Change Watching MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class to get notifications for folder changes on Windows.

On Mac OS X 10.5 you can use the FSEventsMBS class and on older Mac OS X the class FolderChangedNotificationMBS.

See also newer WindowsDirectoryWatcherMBS class.

  • event Changed
  • 2 properties
  • method Constructor(path as folderitem, subtree as boolean, FilterFlags as Integer)
  • 6 constants

Constants

Constant Value Description
ChangeAttribute 4 One of the flags for the constructor. Any attribute change in the watched directory or subtree causes a change notification wait operation to return.
ChangeDir 2 One of the flags for the constructor. Any directory-name change in the watched directory or subtree causes a change notification wait operation to return. Changes include creating or deleting a directory.
ChangeFile 1 One of the flags for the constructor. Any file name change in the watched directory or subtree causes a change notification wait operation to return. Changes include renaming, creating, or deleting a file name.
ChangeSecurity 256 One of the flags for the constructor. Any security-descriptor change in the watched directory or subtree causes a change notification wait operation to return.
ChangeSize 8 One of the flags for the constructor. Any file-size change in the watched directory or subtree causes a change notification wait operation to return. The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.
ChangeWrite 16 One of the flags for the constructor. Any change to the last write-time of files in the watched directory or subtree causes a change notification wait operation to return. The operating system detects a change to the last write-time only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.

This class has no sub classes.

Some examples using this class:

Blog Entries


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


WindowsFileVersionMBS   -   WindowsFontDialogMBS


The biggest plugin in space...