DWORD m_nClipboardFlags;
Holds options for copying/pasting cells. The attribute can be a combination of the following flags. Assign 0 if you want to disable Copy/Paste.
·GX_DNDTEXT - copy/paste CF_TEXT clipboard format
·GX_DNDSTYLES - copy/paste internal styles format
·GX_DNDCOLHEADER - copy/paste column header cells
·GX_DNDROWHEADER - copy/paste row header cells
·GX_DNDDIFFRANGEDLG - Display “Selected Range is Different” dialog when you Copy/Paste cells
·GX_DNDCOMPOSE - when copying internal styles, compose the full style of the cell and do not copy only the cell-specific attributes
·GX_DNDNOAPPENDROWS - if the current cell is at the bottom of the grid and the user pastes more rows than currently remain in the grid, don’t append new rows
·GX_DNDNOAPPENDCOLS - if the current cell is at the right of the grid and the user pastes more columns than currently remain in the grid, don’t append new columns
·GX_DNDEXPRESSION - Copy Expression instead of value (when GX_DNDSTYLES is set). This setting has no effect for direct copy/paste in sheet and for CF_TEXT clipboard format.
·GX_DNDMULTILINETEXT - If included with GX_DNDTEXT, the \r, \n, and \t characters will be preserved. Otherwise, \t will indicated the end of the current cell's text and the beginning of the next cell's text.
CGXGridCore::EnableOleDropTarget CGXGridCore::Copy CGXGridCore::Paste
Class Overview | Class Members