共用方式為


COlePasteSpecialDialog::GetPasteIndex

Gets the index value associated with the entry the user selected.

int GetPasteIndex( ) const;

Return Value

The index into the array of OLEUIPASTEENTRY structures that was selected by the user. The format that corresponds to the selected index should be used when performing the paste operation.

Remarks

For more information, see the OLEUIPASTEENTRY structure in the Windows SDK.

Requirements

Header: afxodlgs.h

See Also

Concepts

COlePasteSpecialDialog Class

COlePasteSpecialDialog Members

Hierarchy Chart

COlePasteSpecialDialog::DoModal