jamesm80
February 25th, 2005, 10:07 AM
Hello,
I'm really new to DirectX / DirectDraw and i haven't been using C++ long either. However, i'm managing to get to grips with most things, and i created a direct draw object and written some text to it in full screen mode with a back buffer etc.
I am trying to make a GUI for an existing game for a mod. So i made direct draw write on the HDC of the game window. My problem is, that the direct draw window created has a black background and so i can't see the game. Is there any way of making the direct draw window transparent so i can see what is behind what was drawn by direct draw. Then perhaps i can write to specific areas of the direct draw window, and still see the game?
Hope that made sense...
If this is not possible, is there another way?
P.S. i'm using DirectDraw because normal TextOut flickered badly on top of the game, and i was told that double buffereing in DirectDraw would make it smooth... and wow, it is... but now i can't see the game :)
Thanks,
James.
I'm really new to DirectX / DirectDraw and i haven't been using C++ long either. However, i'm managing to get to grips with most things, and i created a direct draw object and written some text to it in full screen mode with a back buffer etc.
I am trying to make a GUI for an existing game for a mod. So i made direct draw write on the HDC of the game window. My problem is, that the direct draw window created has a black background and so i can't see the game. Is there any way of making the direct draw window transparent so i can see what is behind what was drawn by direct draw. Then perhaps i can write to specific areas of the direct draw window, and still see the game?
Hope that made sense...
If this is not possible, is there another way?
P.S. i'm using DirectDraw because normal TextOut flickered badly on top of the game, and i was told that double buffereing in DirectDraw would make it smooth... and wow, it is... but now i can't see the game :)
Thanks,
James.