Solved

Icon that moves across the desktop

Posted on 2006-11-23
4
597 Views
Last Modified: 2013-12-26
I wish to create a clickable icon/object that floats across a (Windows) desktop, rather than remaining in a fixed position.  Almost like a transparent screensaver.  If possible, I would like it to include Pong-like characteristics.

Any ideas?  I don't want to use anything that requires .net framework.  Thanks.
0
Comment
Question by:jsharp111
[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
4 Comments
 
LVL 14

Expert Comment

by:trigger-happy
ID: 18061293
I haven't done much windows-specific programming but as I remember this kind of thing isn't really possible. The best you can do would be to emulate the windows desktop and handle the animation from there. One cheap trick would be to get a screenshot of the desktop, run the program at full screen and make your icon bounce around using whatever mean you wish (OpenGL, DirectX, SDL, etc). The thing with this technique is that users can't click on anything else but your own icon...

--trigger-happy
0
 
LVL 13

Accepted Solution

by:
AngryBinary earned 250 total points
ID: 18066417
I wish I had a solution, especially since I esentially just being disagreeable without one... :P

But, this is possible. Windows Forms can be created without the title bar, menu bar, etc, and with transparent regions. Just look at Windows Media Player skins, or (outside the realm of MS stuff) Flash-desktop wrapped applications. mProjector (by ScreenTime) allows creation of 'windowless' applications wherein you only see the Flash elements. As an example, they provide a "red ball" program, where you can drag a ball around your desktop, bounce it off the taskbar, etc.

While I haven't provided much information, at least this might give you hope.
0
 

Author Comment

by:jsharp111
ID: 18293205
Hi AngryBinary, tried that and got some results but pulling the physics together was tough.

Venabili I will close this out - thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

624 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