WindowsFileDescriptorMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsFileDescriptorMBS class.

Flag constants

WindowsFileDescriptorMBS.FD_ACCESSTIME = &h0010

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_ACCESSTIME) <> 0 then
dim da as new date
da.TotalSeconds = d.LastAccessTime
MsgBox da.LongDate
end if

The LastAccessTime member is valid.

WindowsFileDescriptorMBS.FD_ATTRIBUTES = 4

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_ATTRIBUTES) <> 0 then
if BitwiseAnd(d.FileAttributes, d.FILE_ATTRIBUTE_TEMPORARY)<>0 then
MsgBox "temp file"
else
MsgBox "no temp file"
end if
end if

The FileAttributes member is valid.

WindowsFileDescriptorMBS.FD_CLSID = 1

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_CLSID) <> 0 then
MsgBox d.ClassID
end if

The ClassID member is valid.

WindowsFileDescriptorMBS.FD_CREATETIME = 8

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_CREATETIME) <> 0 then
dim da as new date
da.TotalSeconds = d.CreationTime
MsgBox da.LongDate
end if

The CreationTime member is valid.

WindowsFileDescriptorMBS.FD_FILESIZE = &h0040

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_FILESIZE) <> 0 then
MsgBox str(d.FileSize)
end if

Whether the FileSize member is valid.

WindowsFileDescriptorMBS.FD_LINKUI = &h8000

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.

Treat the operation as a shortcut.

WindowsFileDescriptorMBS.FD_PROGRESSUI = &h4000

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.

A progress indicator is shown with drag-and-drop operations.

WindowsFileDescriptorMBS.FD_SIZEPOINT = 2

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_SIZEPOINT) <> 0 then
MsgBox "file object at "+stR(d.Pointx)+"/"+str(d.Pointy)+" with size "+str(d.IconWidth)+"/"+str(d.IconHeight)
end if

The Icon* and point* members are valid.

WindowsFileDescriptorMBS.FD_WRITESTIME = &h0020

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_WRITESTIME) <> 0 then
dim da as new date
da.TotalSeconds = d.LastWriteTime
MsgBox da.LongDate
end if

Whether the LastWriteTime property is valid.

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


💬 Ask a question or report a problem