PM_DataRecordPaste

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

Const.PM_DataRecordPaste

The Const.PM_DataRecordPaste message is sent to a data source to paste one or more objects to the source. The object(s) to be pasted is previously copied to the clipboard. If the clipboard is currently not holding any object or the object in place is not compatible with the current logical unit and view (datasource). This message will return FALSE

Parameters

Name Description
nWhat = wParam Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType
lParam Unused

Returns

When nWhat = Const.METHOD_Inquire, TRUE is returned if the new method is enabled, FALSE otherwise.

When nWhat = Const.METHOD_Execute, TRUE is returned if the object was successfully pasted, FALSE otherwise.