Hi guys,
I am writing an app that I wish to have a transparent background and hence a
shaped form. In the
InitializeComponent() method I set the members of the form to the following:
//-- Code -------------------------------------------
this.FormBorderStyle = FormBorderStyle.None;
this.MaximizeBox = false;
this.BackColor = Color.FromArgb(((System.Byte)(128)), ((System.Byte)(128)),
((System.Byte)(255)));
this.TransparencyKey = Color.FromArgb(((System.Byte)(128)),
((System.Byte)(128)), ((System.Byte)(255)));
//-- End of Code ------------------------------------
I am then drawing graphics of a clock as per
http://www.publicjoe.f9.co.uk/csharp...nalogclock.exe
application.
This works great under windows 2000, but not XP. Can someone please point me
in the right direction.
Full code can be seen at
http://www.publicjoe.f9.co.uk/csharp...analogclock.cs
Thanks in advance
Publicjoe