12
I want my program to be able to launch any Windows game, and while the user is playing it, intermittently display some text or pictures in some part of the game window. The game may be in windowed or full-screen mode. From what I have been able to figure out from online resources, this could be done using a graphics library that supports overlays and using Windows Hooks to keep track of the target application's window. In this context I have some questions.
- Will the overlays affect the game's performance?
- How will hooking the application affect performance?
- Is there any other way one could achieve this? For example, how do you think PIX, the DirectX debugging and analysis tool, work?