Solved

Icon that moves across the desktop

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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 …
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

785 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