GetSystemMetrics for getting the resolution(divide by 2 to get center)
Then scan from center-30 to center+30 for red(or whatever color the box is)
Also, we're allowed to tell you to learn it yourself, hardly anyone in this section plays CF, if you want more help you're better off in the Source code section of CF(if they have one)