quote:Originally posted by Matty Use the EnableWindow api.
code:Error: Object doesn't support this property or method. Line: 32. Code: -2146827850.
code:var MP = MsgPlus.CreateWnd("windows.xml","mywnd"); * menu here* function OnEvent_MenuClicked(id){ switch (id){ case 'p': MP.EnableWindow("button",false); break; } }