well I had this problem but posted in Mirc help I fixed it with TweakUI XP open it go to "General" , "Focus" , and put a check in "Prevent Applications from stealing focus".