How to set the opacity level of a win form using .NET Compact framework?

  • Thread starter Thread starter Palash
  • Start date Start date
P

Palash

How to set the opacity level of a win form using .NET Compact framework?

Thanks in advance,
Palash
 
Thanks ... but I need it. How do I do it using eVC 4.0? Pls help me. Give me
some ideas?

Palash
 
The fact I don't recall any API for it or ever seeing a windows with <100%
opacity in any app on any CE device is a pretty strong indicator.

-Chris
 
You absolutely *must* have partially transparent windows? That sounds like
a very strange requirement to me. Maybe you could tell us what you think
you need it for and we could provide an alternate suggestion...

Paul T.
 
The OS APIs (Set/GetLayeredWindowAttributes) that control window opacity and
alpha blending do not exist in Windows CE
 
Thanks Paul, Chris & Alex for your replies. :-)

I am developing a SetTopBox app ... in which, I am planning to provide a
partial transparent feature. So user can watch the TV or movie at the
background while he/she can use some other partial transparent apps
(Calculator, IE, EMail Client etc) on top of that.

Thanks,
Palash

Paul G. Tobey said:
You absolutely *must* have partially transparent windows? That sounds like
a very strange requirement to me. Maybe you could tell us what you think
you need it for and we could provide an alternate suggestion...

Paul T.

Chris Tacke said:
The fact I don't recall any API for it or ever seeing a windows with <100%
opacity in any app on any CE device is a pretty strong indicator.

-Chris



Palash said:
oh my god ... is it so?

Palash

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
I don't think it's supported by the OS at all.

-Chris


Thanks ... but I need it. How do I do it using eVC 4.0? Pls help me.
Give
me
some ideas?

Palash

Opacity is not supported in the .NET Compact Framework.

How to set the opacity level of a win form using .NET Compact
framework?

Thanks in advance,
Palash
 
I think that you're going to have to do the transparency yourself, if it's
even possible. That is, grab the contents of the desktop window/screen,
then apply the transparency modifications manually, then draw the result in
your window. This is going to be *very* difficult to maintain with TV
running behind it at, what, 15-30 frames/sec. I think you'll want to start
looking for a fall-back position...

Paul T.

Palash said:
Thanks Paul, Chris & Alex for your replies. :-)

I am developing a SetTopBox app ... in which, I am planning to provide a
partial transparent feature. So user can watch the TV or movie at the
background while he/she can use some other partial transparent apps
(Calculator, IE, EMail Client etc) on top of that.

Thanks,
Palash

Paul G. Tobey said:
You absolutely *must* have partially transparent windows? That sounds like
a very strange requirement to me. Maybe you could tell us what you think
you need it for and we could provide an alternate suggestion...

Paul T.

Chris Tacke said:
The fact I don't recall any API for it or ever seeing a windows with <100%
opacity in any app on any CE device is a pretty strong indicator.

-Chris



oh my god ... is it so?

Palash

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
I don't think it's supported by the OS at all.

-Chris


Thanks ... but I need it. How do I do it using eVC 4.0? Pls help me.
Give
me
some ideas?

Palash

Opacity is not supported in the .NET Compact Framework.

How to set the opacity level of a win form using .NET Compact
framework?

Thanks in advance,
Palash
 
If he's got separate graphics hardware he may be able to blend on a
DirectDraw surface, but that's the *only* option I can think of (and it's
still a maybe).

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
---
Principal Partner
OpenNETCF Consulting
www.OpenNETCF.com



Paul G. Tobey said:
I think that you're going to have to do the transparency yourself, if it's
even possible. That is, grab the contents of the desktop window/screen,
then apply the transparency modifications manually, then draw the result in
your window. This is going to be *very* difficult to maintain with TV
running behind it at, what, 15-30 frames/sec. I think you'll want to start
looking for a fall-back position...

Paul T.

Palash said:
Thanks Paul, Chris & Alex for your replies. :-)

I am developing a SetTopBox app ... in which, I am planning to provide a
partial transparent feature. So user can watch the TV or movie at the
background while he/she can use some other partial transparent apps
(Calculator, IE, EMail Client etc) on top of that.

Thanks,
Palash

Paul G. Tobey said:
You absolutely *must* have partially transparent windows? That sounds like
a very strange requirement to me. Maybe you could tell us what you think
you need it for and we could provide an alternate suggestion...

Paul T.

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
The fact I don't recall any API for it or ever seeing a windows with <100%
opacity in any app on any CE device is a pretty strong indicator.

-Chris



oh my god ... is it so?

Palash

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
I don't think it's supported by the OS at all.

-Chris


Thanks ... but I need it. How do I do it using eVC 4.0? Pls
help
me.
Give
me
some ideas?

Palash

Opacity is not supported in the .NET Compact Framework.

How to set the opacity level of a win form using .NET Compact
framework?

Thanks in advance,
Palash
 
Wow! It is not so easy to implement then :-(

Anyway thanks a lot Paul & Chris.

Palash

Chris Tacke said:
If he's got separate graphics hardware he may be able to blend on a
DirectDraw surface, but that's the *only* option I can think of (and it's
still a maybe).

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
---
Principal Partner
OpenNETCF Consulting
www.OpenNETCF.com



Paul G. Tobey said:
I think that you're going to have to do the transparency yourself, if it's
even possible. That is, grab the contents of the desktop window/screen,
then apply the transparency modifications manually, then draw the result in
your window. This is going to be *very* difficult to maintain with TV
running behind it at, what, 15-30 frames/sec. I think you'll want to start
looking for a fall-back position...

Paul T.

Palash said:
Thanks Paul, Chris & Alex for your replies. :-)

I am developing a SetTopBox app ... in which, I am planning to provide a
partial transparent feature. So user can watch the TV or movie at the
background while he/she can use some other partial transparent apps
(Calculator, IE, EMail Client etc) on top of that.

Thanks,
Palash

message You absolutely *must* have partially transparent windows? That sounds
like
a very strange requirement to me. Maybe you could tell us what you think
you need it for and we could provide an alternate suggestion...

Paul T.

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
The fact I don't recall any API for it or ever seeing a windows with
<100%
opacity in any app on any CE device is a pretty strong indicator.

-Chris



oh my god ... is it so?

Palash

"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
I don't think it's supported by the OS at all.

-Chris


Thanks ... but I need it. How do I do it using eVC 4.0? Pls help
me.
Give
me
some ideas?

Palash

Opacity is not supported in the .NET Compact Framework.

How to set the opacity level of a win form using .NET Compact
framework?

Thanks in advance,
Palash
 
Back
Top