Solved

Icon that moves across the desktop

Posted on 2006-11-23
4
593 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
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

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

28 Experts available now in Live!

Get 1:1 Help Now