Command validity flags
#define CVF_NOSINGLE (1<< 0)
#define CVF_NOMULTIPLE (1<< 1)
#define CVF_NOFILES (1<< 2)
#define CVF_NONONIMAGES (1<< 3)
#define CVF_NOFOLDERS (1<< 4)
#define CVF_NODRIVES (1<< 5)
#define CVF_NOREADONLY (1<< 6)
#define CVF_NOTEMPFILE (1<< 7)
#define CVF_FORMATIDLIST (1<< 8)
#define CVF_CANENCODE (1<< 9)
#define CVF_NIL (1<<10)
Value | Meaning |
---|---|
CVF_NOSINGLE |
Command does not work with a single item |
CVF_NOMULTIPLE |
Command does not work with multiple items |
CVF_NOFILES |
Command does not work with files |
CVF_NONONIMAGES |
Command does not work with files other than images |
CVF_NOFOLDERS |
Command does not work with folders |
CVF_NODRIVES |
Command does not work with drives |
CVF_NOREADONLY |
Command does not work with read-only items |
CVF_NOTEMPFILE |
Command does not work with temporarily extracted files |
CVF_FORMATIDLIST |
Command works only with image types specified by format ID array |
CVF_CANENCODE |
Command does not work with image formats that cannot be encoded |
CVF_NIL |
Command works even if there are no selected items |
Used in the CX_CommandInfo structure.
Header: CX_PlugIn.h