Gets a message from the Concept Remote Client. Messages can include property values, events fired or if MessageID is MSG_APPLICATION_MESSAGE an application message, with Sender containing the sender application APID, Target the message id, and Value the inter-application message string data. When doing this in a loop, controlled by the CApplication, you must set the ShellDebug delegate. The form is ShellDebugDelegate(Sender, Target, Value). Notice, that Target is a string (and should be evaluated, when needing a number message id).
A MessageID of 0x500 means that the application ended, and quit is requested.
Also, it has an alias named GetMessage defined in MessageDispatcher.con (you may want to include it).
This function is used by the framework, and there are easier ways to deal with messages, via the CApplication and the RemoteObject derived objects.
|