
Signature
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
Hello mr. Richard,
Thanks for your reply... I did exactly what you said and it is now
working... thanks once again.
One more question, I am developing a windows application which is some what
similar to MSAgent but not using any reference of MSAgent. I am developing
my own Help Agent. So like for MSAgent there are different Characters, here
I have 3 animated GIFs as a Agent Character. As I said I am using
ImageAnimator class to draw animated GIF on form, also I am using Form's
Transparency key property.
Since I am using this property one restriction applied to my application is
that it will run under 16bit color settings. To validate my point please
look at this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchShapedWindowsFormsControlsInVisualStudioNET.asp
now my client wants me to develop a agent which will support 32 bit color
settings also...
Now my problem starts here, since I can not make forms background
transparent on 32 bit color settings using TransparencyKey property. what is
a way out to make Form's background transparent irrespective of color
settings ?
I hope I made my point clear, if not then let me know...
TIA
Jaydeep
> Hi, never done this, but it looks like if you call GetFrameCount() on the
> Image that is being animated, you'll get the number of frames. Then if you
[quoted text clipped - 23 lines]
> > TIA
> > Jaydeep
Jaydeep - 28 Dec 2004 13:16 GMT
Hi,
problem got solved... I was using backgroundImage and TransparencyKey
properties of form, thats why it was showing me color of image when I saw it
in 32 bit color settings... but instead of backgroundImage I used backcolor
and TransparencyKey it worked... :)
> Hello mr. Richard,
> Thanks for your reply... I did exactly what you said and it is now
[quoted text clipped - 8 lines]
> that it will run under 16bit color settings. To validate my point please
> look at this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchShapedWindowsFormsControlsInVisualStudioNET.asp
> now my client wants me to develop a agent which will support 32 bit color
> settings also...
[quoted text clipped - 36 lines]
> > > TIA
> > > Jaydeep