An application sends a ZGM_ENABLEPASTE message to enable or disable the users ability to use ctrl+V to paste from the Windows clipboard into the ZeeGrid at the cursor position.
ZGM_ENABLEPASTE wParam = (WPARAM) (BOOL) fEnable; //enable flag lParam = 0; //not used; must be zero
This message does not return a value.
Pasting is disabled by default. Only cells that have edit values of "1" can be pasted to. Pasting that requires expansion of the columns in ZeeGrid will fail, resulting in a messagebox displaying that the operation could not be fully completed. A pasting operation that requires additional rows in the ZeeGrid will depend on the setting of ZGM_EXPANDROWSONPASTE.