on_scanmassage is the function that listens/catches messages that have been sent to lite-c window. you need to write this function yourself(which is ScanMessage in the script you posted) and process messages. ie WM_COMMAND is a message. when such messages sent on_scanmessage function is triggered. You check which message came in and act respectively.

Last edited by Quadraxas; 12/04/09 21:26.

3333333333