Solved

Hidden Dialog box

Posted on 1998-11-12
2
159 Views
Last Modified: 2013-11-20
I've seen this done a few times and every time I've been amazed.  Can someone please tell me how to make a visual C++ app that can play around with the screen no matter what program the user is in.  If you've ever seen one of those crazy desktop games, like the cat that follows the mouse cursor around the screen as your working, than you know what I'm talking about.  The program only shows an icon in the taskbar, and that's it!
I know of a cheap way to draw on the desktop by capturing the screen and the playing with it, but that traps the user within the program and won't allow the user to keep working in other applications.
Your help is greatly appreciated.
0
Comment
Question by:SileNcer
2 Comments
 
LVL 2

Accepted Solution

by:
wyy_cq earned 100 total points
ID: 1324617
I think you need register a WndClass whose BRUSH is NULL,
so the window is transparent and will not receive WM_PAINT.

Do not draw on the screen.(recommand)

you can set a timer to get the cursor position .


0
 

Author Comment

by:SileNcer
ID: 1324618
This sounds like the right approach.  Could you please show me an example code of how to register the WndClass and get it to create the window?  Thanks a lot for your help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.NET how to use the Vertical ScrollBar 5 114
List out all word 7 316
sumDigits challenge 9 170
wordappend challenge 8 200
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question