BBjBatch::addSendMsg
In BBj 3.02 and higher, the BBjBatch object is deprecated and replaced with BBjAPI::getConfig().suppressUIAckBack(1), which is no-op'd in BBj 5.00 and higher.
Description
This method adds the selected SENDMSG() function to the specified SysGui batch.
Syntax
|
Return Value |
Method |
|---|---|
|
void |
addSendMsg(int objectID, int messageID, int argument1, string argument2) addSendMsg(int objectID, int messageID, int argument1, string argument2, int context) |
Parameters
|
Variable |
Description |
|---|---|
|
objectID |
For system operations, use a value of -1. Use a value of 0 when referring to the window in the current context. When the context parameter is included, using a value of 0 refers to the window of the specified context (as defined in the SENDMSG() function). |
|
messageID |
Specifies the message number (as defined in the SENDMSG() function). |
|
argument1 |
Four-byte integer containing an argument for a given function (as defined in the SENDMSG() function). |
|
argument2 |
String argument for a given function (as defined in the SENDMSG() function). |
|
context |
Context that contains the specified ID. This parameter is only necessary for objects that do not pertain to the current context (as defined in the SENDMSG() function). |
Return Value
None.
Remarks
The arguments are identical to those of the SENDMSG() function except that the first SENDMSG() argument (SysGui channel) is not used.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.