Sign in to follow this  
Ey-Lord

Making a hook

Recommended Posts

Ey-Lord    225
Hello, i'm on Windows and i want to draw on the the top of a windows that isnt the one of my program. ( either in "desktop" mode or in fullscreen ). I want to use openGL and if possible, SDL would be great, because i would like to stay away as much as possible from Win32 ( i know i will have to use it, but if this can be minimized, it would be great ! ) I'm looking for tips, example, tutorial on how to do a hook on another windows. Thanxs.

Share this post


Link to post
Share on other sites
LessBread    1415
Search for "interprocess communication". Here's some C code for a dll and an exe that sets a hook into windows in other processes: GlobalMessageHook. YMMV. There are a couple of articles here demonstrating how to draw on the desktop. The principle is the same as drawing on another window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this