need to display a graphic always on top (even when other programs run in fullscreen)

need to display a graphic always on top (even when other programs run in fullscreen)

This is a discussion on need to display a graphic always on top (even when other programs run in fullscreen) within the Windows Programming forums, part of the Platform Specific Boards category; Hi,
I want to display the temperature of the CPU/GPU using a graphic. My main purpose to do this project ...

Yes, I am talking about Windows.
Thank's for the hint. Well then I guess my program idea is obsolete.
However I am still kind of curious how you can display a graphic on Windows always on top, even though there are other things running in fullscreen. If anyone got a hint, I'd be thankful.
Thanks for your replys so far.
moccajoghurt

Yes, I am talking about Windows.
Thank's for the hint. Well then I guess my program idea is obsolete.
However I am still kind of curious how you can display a graphic on Windows always on top, even though there are other things running in fullscreen. If anyone got a hint, I'd be thankful.
Thanks for your replys so far.
moccajoghurt

Each "Window" in windows, has a list of properties that go with it. Think of a struct in C, with a whole bunch of struct members.

Several of those properties determines the display characteristics of a window: size, position, color, border type, etc. One of those properties determines if the window should stay on top, or act like a normal window.

This is not a C language thing, it's very much a Windows thing. A Google search should take you right to the Windows API that controls it. Also, with a little poking around, you can surely find some open source projects in C, that use that property.

The MSDN library should have the answer, (and they usually have C code showing how to use it). A good Windows forum can perhaps answer it, as well. I've found the Windows 7 forum to be quite knowledgeable on Windows issues. I'm not sure if that extends to programming for it, however.