Message

Allowed a knowledgeable programmer to send a message to the control to which the method is applied. It invokes the Windows SendMessage() API however no return value is available. The lParam parameter is sent either as as a DWORD or a char * as appropriate.

Now strongly deprecated. It will not be available in KCML7.

This method should only be used for functionality that is not available through the standard KCML methods. For example, both of the following could be used to add an item to a list box.

 .listControl1.Message(0x180, 0, "Hello World")
 .listControl1.Add = ("Hello World")

The second example illustrates the only really acceptable method. The former method hardwires a magic constant that may change in future versions of Windows (it did change in the transition from 16 to 32 bits).