DLL
To copy data using drag and drop
- Call the SSSetBool function and set the SSB_ALLOWDRAGDROP boolean to TRUE.
- In your application, select the cell or cells you want to copy using the mouse.
- Press and hold the Ctrl key.
- Position the mouse pointer over the edge of the selection so that the arrow pointer appears.
- Press the left mouse button and drag the cell or cells.
- Release the left mouse button when the mouse pointer is over the drop location.
Note: When the wMode parameter of the SSSetOperationMode function is set to SS_OPMODE_ROWMODE and the SSB_ALLOWDRAGDROP boolean of the SSSetBool function is set to TRUE, and you drag and drop a cell or block of cells, the entire row or rows containing the selected cell or cells are dragged and dropped. |