Hi, i have used FindWindow API to detect if mIRC is running. all goes well until i minimized it and it started flashing because i had a message. Then i noticed that the mirc caption had changed to 'mIRC32 [message]'. Now my program cannot find it because i told it to look for 'mIRC32'

How can i get around this? is there a way i can check for just the left four character 'mirc'?