JCL Help:TJclAppInstances.SendStrings

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Sends a list of string to all instances.


Pascal

 public function SendStrings(const WindowClassName: string; const DataKind: TJclAppInstDataKind; const Strings: TStrings; 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.
const Strings: TStrings The string list to send.
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

SendStrings sends a list of strings to all instances of this application. The strings are send using a WM_COPYDATA message directed at the window whose classname equals the WindowClassName parameter.


See Also

TJclAppInstances.SendData TJclAppInstances.SendString


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