?
Solved

Hidden Dialog box

Posted on 1998-11-12
2
Medium Priority
?
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
wyy_cq earned 200 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

771 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