Ok! How do you choose the window to send the information? probably another function such as OnEvent_WndMessageReceived. In this function you have a variable called ChatWnd so you write a global variable.
code:
targetWindow = ChatWnd
Then on your timer function you can use
code:
targetWindow.SendMessage("no other folders.");