mIRC Options -> Display -> Options -> Tray... (button).