OLEUIPASTEFLAG enumeration (oledlg.h)
Indicates the user options that are available to the user when pasting this format, and within which group or list of choices (Paste, Paste Link, etc.).
Syntax
typedef enum tagOLEUIPASTEFLAG {
OLEUIPASTE_ENABLEICON = 2048,
OLEUIPASTE_PASTEONLY = 0,
OLEUIPASTE_PASTE = 512,
OLEUIPASTE_LINKANYTYPE = 1024,
OLEUIPASTE_LINKTYPE1 = 1,
OLEUIPASTE_LINKTYPE2 = 2,
OLEUIPASTE_LINKTYPE3 = 4,
OLEUIPASTE_LINKTYPE4 = 8,
OLEUIPASTE_LINKTYPE5 = 16,
OLEUIPASTE_LINKTYPE6 = 32,
OLEUIPASTE_LINKTYPE7 = 64,
OLEUIPASTE_LINKTYPE8 = 128
} OLEUIPASTEFLAG;
Constants
OLEUIPASTE_ENABLEICON Value: 2048 If the container does not specify this flag for the entry in the OLEUIPASTEENTRY array passed as input to OleUIPasteSpecial, the DisplayAsIcon button will be unchecked and disabled when the user selects the format that corresponds to the entry. |
OLEUIPASTE_PASTEONLY Value: 0 The entry in the OLEUIPASTEENTRY array is valid for pasting only. |
OLEUIPASTE_PASTE Value: 512 The entry in the OLEUIPASTEENTRY array is valid for pasting. It may also be valid for linking if any of the following linking flags are specified. If it is valid for linking, then the following flags indicate which link types are acceptable by OR'ing together the appropriate OLEUIPASTE_LINKTYPEn values. These values correspond as follows to the array of link types passed to OleUIPasteSpecial in the arrLinkTypes member of the OLEUIPASTESPECIAL structure:
The arrLinkTypes array is an array of registered clipboard formats for linking. A maximum of 8 link types is allowed. |
OLEUIPASTE_LINKANYTYPE Value: 1024 Any link type. |
OLEUIPASTE_LINKTYPE1 Value: 1 Link type 1. |
OLEUIPASTE_LINKTYPE2 Value: 2 Link type 2. |
OLEUIPASTE_LINKTYPE3 Value: 4 Link type 3. |
OLEUIPASTE_LINKTYPE4 Value: 8 Link type 4. |
OLEUIPASTE_LINKTYPE5 Value: 16 Link type 5. |
OLEUIPASTE_LINKTYPE6 Value: 32 Link type 6. |
OLEUIPASTE_LINKTYPE7 Value: 64 Link type 7. |
OLEUIPASTE_LINKTYPE8 Value: 128 Link type 8. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | oledlg.h |