GDI drawing without showing a window
Hi guys, I got this application that runs in the system tray. Every so often it draws a message on the screen using GDI. To do this it must show its window and draw the text onto screen then hide its window. (The program is designed to show subliminal messages, and keep them on for 15 milliseconds). I was wondering if there is a way I can draw straight onto the users screen without having to show the application''s window? Because showing the application''s window, interferes with other processes, such as a game running in full screen. Another subliminal program which Im copying does not show any window, it appears to write its messages on the screen, while having only an icon in the system tray.
Could anyone please help
Thanks
DarkStar
UK
-------------------------------
Loves cross-posting because it works
quote:Original post by LessBread
Maybe this will help point the way: Overlay surfaces.
It seems to be using DirectX not GDI!
I need to know specifically if I can draw onto the screen without a window being shown? Anyone else with a suggestion?
Thanks
DarkStar
UK
-------------------------------
Loves cross-posting because it works
Thanks
DarkStar
UK
-------------------------------
Loves cross-posting because it works
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/devcons_4esj.asp
''nuff said.
quote:
[in] Handle to the window whose DC is to be retrieved. If this value is NULL, GetDC retrieves the DC for the entire screen.
''nuff said.
I''ve tried that getting the hdc using NULL, still dont see anything displayed on my screen
DarkStar
UK
-------------------------------
Loves cross-posting because it works
DarkStar
UK
-------------------------------
Loves cross-posting because it works
quote:Original post by remiquote:Original post by LessBread
Maybe this will help point the way: Overlay surfaces.
It seems to be using DirectX not GDI!
Yes, that''s true, but the frame work is there and we laid the ground work for that demo here in these forums using GDI.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement