OLEUIPASTEFLAG  YCBFWG

This enumeration is used to indicate 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.) this entry is to be available. OLEUIPASTEFLAG is used by the OLEUIPASTEENTRYAA490K structure.

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;

 

Elements

OLEUIPASTE_ENABLEICON

If the container does not specify this flag for the entry in the OLEUIPASTEENTRYAA490Karray passed as input to OleUIPasteSpecial177J6KW, the DisplayAsIcon button will be unchecked and disabled when the user selects the format that corresponds to the entry.

OLEUIPASTE_PASTEONLY

The entry in the OLEUIPASTEENTRY array is valid for pasting only.

OLEUIPASTE_PASTE

The entry in the OLEUIPASTEENTRYAA490Karray 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_LINKTYPE<#> values. These values correspond as follows to the array of link types passed to OleUIPasteSpecial:

OLEUIPASTE_LINKTYPE1=arrLinkTypes[0]
OLEUIPASTE_LINKTYPE2=arrLinkTypes[1]
OLEUIPASTE_LINKTYPE3=arrLinkTypes[2]
OLEUIPASTE_LINKTYPE4=arrLinkTypes[3]
OLEUIPASTE_LINKTYPE5=arrLinkTypes[4]
OLEUIPASTE_LINKTYPE6=arrLinkTypes[5]
OLEUIPASTE_LINKTYPE7=arrLinkTypes[6]
OLEUIPASTE_LINKTYPE8=arrLinkTypes[7]

where,

UINT arrLinkTypes[8] is an array of registered clipboard formats for linking. A maximum of 8 link types is allowed.