Freigeben über


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,

};

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

Concepts

COlePasteSpecialDialog Class

COlePasteSpecialDialog Members

Hierarchy Chart

COlePasteSpecialDialog::DoModal