C++
virtual void OnItemCopy();
Description
The framework calls this method when the Copy option is selected from the context menu. The base class implementation copies the item data to the data object and, before setting the data object on the Clipboard, calls the virtual method Copy() so that the derived class can copy its own data to the data object. If special behavior is required, override this method in the derived class.