How to do Alphablend in Wince 5.0?

codymarc
Hi, I'm trying to do some application were one picturebox can have some
traslucid aspect, like the opacity property or alphablend. I probe some
code without succeded. So I know that opacity isn't supported in wince. I
know that this is possible because this is done in the application
SystemInformation made by Daniel Schumann, this can be downloaded from
http://www.ultimatelaunch.de/.

Thanks in advance

danics
i test and work with AlphaBlend and its work perfectly i used WinCe in Thai
website but i know its work for Chinese version too, whats exactly your
problem send some part of your code, i have a example too if you want

Mathias Tantau
hello danics,
could you post your example please

Thanks in advance

danics
Attachment: TestAlphaBlend.rar (92.77 KB)
hello Tantau, 
i create a sample AlphaBlend Project with using only AlphaImage, because i
m in work and i cant get you a complete sample,
but in this simple application i use a Alphaimage that its alpha set to 170
you can change this number to 200 and test again,
you must copy Images folder in Program Files of wince, you can run this
project in wince 5 too.
if you want use PictureBox for background, your form must be child of
AlphaForm good luck.

Mathias Tantau
hello danics,
thank you very much for your help! I will have a try as soon as possible
and report my results.
I wish you success in elaborating your project,
Mathias Tantau

dezso
Hello danics

Your test worked fine as is, whoever I could not make the AlphaImageButton 
and the rest of the alpha controls to work.

Can you please provide a simple example for each, how to use them.
I got "Cannot implicitly convert type 'System.Drawing.Image' to
'AlphaBlend2.AlphaImage'" when I try to run AlphaImageButton.
Also I cant specify the  ActiveBackgroundImage" & "DisabledBackgroundImage"

I'm trying to use this under CE6R3


Thanks

danics
Attachment: TestAlphaBlend.rar (216.37 KB)
ok you are in wrong with Image and AlphaImage class. image class is for
.net framework but AlphaImages are define with our class. for example of
creating a AlphaImageButton you must create something like this,

AlphaImageButton btnTest = new AlphaImageButton();
btnTest.ActiveBackgroundImage = AlphaImage.CreateFromFile("");
btnTest.BackgroundImage = AlphaImage.CreateFromFile("");

you can't use Image class.
i send you another example too.

you can copy your images in Image folder and in vs2005 or 2008 for every
image change in properties window, build action to Embedded Resources.

you dont need copy image.

Dezso
Found a solution.

Follow this link http://alphamobilecontrols.codeplex.com/releases/view/9797

[IMG]http://img401.imageshack.us/img401/7041/alpha11.jpg[/IMG]

Dezso
http://img401.imageshack.us/img401/7041/alpha11.jpg

Dezso
http://img585.imageshack.us/img585/2368/alpha10.jpg

April
Is there an example about this in visual basic? 
Somebody can help me to pass this to vb, if it is possible?

Thanks

jong
Hi, me too need some example in vb.net, because I do not understand c.

Bye

April
Hi, I google this, and I cant find any example in vb.net all the examples
are in c#. Please help me.