Advertisement

running a window on top of the game?

Started by November 25, 2002 04:12 PM
3 comments, last by xc0py 22 years, 3 months ago
Ok, does anyone know how to code a program to run over top of a game. Here is wut im attempting.. i want to make a stopwatch/clock that will go right overtop of the interface of the game. Even if it was a small window.. is it possible to have it sit at the top of the screen and keep the time over top of the game im playing. Im doing it for ww2 online. WW2 Online uses DirectX
If you can write plugins for ww2 then probably. Otherwise you will have to program a stopwatch and alt/tab between the two programs.

"Free advice is seldom cheap."
-- Rule of Acquisition #59
Advertisement
Have a look at the source code for Decal. It''s an unofficial plugin system for Asheron''s Call that rendered it''s interface onto the 3D view of the AC client.

http://decaldev.sourceforge.net/
I am working on a game in which the controls exist in a window that sits on top of the main screen. I did this by just creating a dialog as a child of the main window. If you just wanted a digital clock readout, you could easily create a dialog and update a label or a textbox for the clock.
you can always just set the window to be topmost... but that brings two potential issues:
if the game is a topmost window,
and issues with focus...
somthing to think about.

| - Project-X - my mega project.. big things comming soon - | - adDeath - an ad blocker I made - | - email me - |

This topic is closed to new replies.

Advertisement