gui_ipc

Communicate between spawned applications.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X        

Syntax

void gui_ipc(name[,action[,option[,text]]])
string       name
int          action
int          option
string       text

Description

Communicates between spawned applications. The target application receives the event specified by action. Also used to set the current application's IPC name. Multiple applications can have the same name.
name identifies the name of the target application. If name is the only parameter, then this sets the current application's IPC name. If name is NULL, then the action is sent to all other applications.
action is the action (0 - 96) to send to the target application(s). If action = (-1), then pev_ipc (86) is sent.
option sets the G.aux value for the target application(s).
text sets string for the target application(s), retrieved using gui_info().

Notes

At least one GUI window must have been opened before calling gui_ipc.