AttachItem
Attach the item to the instance. All messages from the item are redirected by message handling system to the member function handler.
Usage:
inst AttachItem item handler
Parameters:
item
The name of the item to be attached.
handler
The name of the handler member function (def.=MsgHandler).
Result:
0 for success and 1 on error.