?
Solved

develop an active desktop control in c#

Posted on 2006-06-28
6
Medium Priority
?
1,396 Views
Last Modified: 2008-02-07
Hi all experts,
i want to develop a nice thing that will be on the desktop (like an active desktop) something like this: http://www.tinnes.org.uk/desktopcalendar/about.htm
or this: http://www.xemico.com/adc/screenshots.html
and i don't have any clue where to start from (i want to use C# of course.)
any ideas?
Thanks Navot.
0
Comment
Question by:navotvolk
[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
  • 3
  • 2
6 Comments
 
LVL 4

Expert Comment

by:SmithJW
ID: 17017300
Since you want to do this using c#, Active Desktop is the wrong method.

You should create a form, and set the background color as the transparency colour, then set the form to always be at the background. Finally whyn you add controls they will appear as if they are floating on your desktop.

I have used a similar approach on a little project that is available somewhere on my website (linked in my profile).
If you want a form template creating for this, post back, and i'll see what i can do!

Alternatively... you can get a handle to the desktop window, from which you can create a GDI bitmap to draw on. There are API functions to do all this, which i can list for you if you want to give it a try.
This method will give you freedom to control exactly what you want to draw, but really isnt worth the effort, and is much much harder than a transparent form.

0
 
LVL 1

Author Comment

by:navotvolk
ID: 17018303
thanks for your answer,
i looked it your site and didnt found it.
can you send me the form template?
i tried to make a transperetn form before but the problem is it makes the text transperent two (and i want it to remain solid black)
did you handle it in your template?
0
 
LVL 4

Accepted Solution

by:
SmithJW earned 750 total points
ID: 17018803
I have uploaded a sample with instructions:
http://smithjw.no-ip.com/TransparencyTemplate.zip

The basics of it are
set the transparency key to a known color
make transparent areas use that color
turn off the form border
et voila... thats all there is to it :)

this was built using visual studio 2005.
hope it helps :)
0
 
LVL 4

Expert Comment

by:SmithJW
ID: 17018818
I almost forget... there are probly a few other bits and bobs needed to make the illusion complete, such as setting the form not to display a taskbar, and adding an area where you can allow the user to re-position the window. apart from that, it should be
0
 
LVL 1

Author Comment

by:navotvolk
ID: 17019518
thanks i will check it on sunday and then i will accecpt the answer.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

801 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