Udostępnij za pośrednictwem


COlePasteSpecialDialog::GetSelectionType

Determines the type of selection the user made.

UINT GetSelectionType( ) const;

Return Value

Returns type of selection made.

Remarks

The return type values are specified by the Selection enumeration type declared in the COlePasteSpecialDialog class.

enum Selection

{

pasteLink,

pasteNormal,

pasteOther,

pasteStatic

};

Brief desccriptions of these values follow:

  • COlePasteSpecialDialog::pasteLink   The Paste Link radio button was checked and the chosen format was a standard OLE format.

  • COlePasteSpecialDialog::pasteNormal   The Paste radio button was checked and the chosen format was a standard OLE format.

  • COlePasteSpecialDialog::pasteOther   The selected format is not a standard OLE format.

  • COlePasteSpecialDialog::pasteStatic   The chosen format was a metafile.

Requirements

Header: afxodlgs.h

See Also

Reference

COlePasteSpecialDialog Class

Hierarchy Chart

COlePasteSpecialDialog::DoModal

Other Resources

COlePasteSpecialDialog Members