JCL Help:TJclAppInstances.SendData
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: TJclAppInstances.SendData Method
Search in JCL Help
Search in all projects
Summary
Sends data to all instances.
Pascal
public function SendData(const WindowClassName: string; const DataKind: TJclAppInstDataKind; Data: Pointer; const Size: Integer; OriginatorWnd: THandle): Boolean;
Parameters
Parameters | Description |
const WindowClassName: string | The class name of the Window to send the data to. |
const DataKind: TJclAppInstDataKind | User defined value to identify the type of data being send. Note that you cannot specify AppInstDataKindNoData (defined as -1) as this parameter. |
Data: Pointer | The data to be send. |
const Size: Integer | The size, in bytes, of the data pointed to by Data. |
OriginatorWnd: THandle | Handle of the window from which the message is send. |
Return Value
If the function succeeds it returns True, otherwise it returns False.
Description
SendData sends some generic data to all instances of this application. The data is send using a WM_COPYDATA message directed at the window whose classname equals the WindowClassName parameter.
See Also
TJclAppInstances.SendString TJclAppInstances.SendStrings
About
Donator
Petr Vones
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page