function OnEvent_MenuClicked(sMenuId, nLocation, pOirgin){ if(sMenuId ==='MyMenu'){ if(nLocation === MENULOC_CHATWND){
oChatWnd = pOrigin;// this gives you access to the chat window so you can use SendMessage } } }
This post was edited on 01-06-2010 at 01:57 PM by matty.