Solved

Hidden Dialog box

Posted on 1998-11-12
2
157 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating Labels and Frequency list style reports in SAS code 9 92
Smart Camera scanning and reading information 3 100
Detect file exist or not 3 133
Change to event 1 103
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now