Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

transparency between windows

Hi,
I'm writing an application, that should
show a live video (from pc camera) on one window,
and another window with some control on it,
should appears below it.

I'm using 'IVideoWindow' Interface from DirectShow.
This window should be semi transparent.

I think that the AlphaBlend() SDK should do that work,
but I couldn't find how to connect it with IVideoWindow.


* The use of IVideoWindow is not mandatory
* OS win2000
* DirectX 7
* Code in C++

Waiting for advises

Thanks
Ran
0
ran100
Asked:
ran100
1 Solution
 
FengYuanCommented:
Have you tried layered window on Windows 2000?

If you really want to use AlphaBlend, you can render the video into a DIB section, create a memory DC, select the DIB section in, and then use AlphaBlend to render it to screen.

www.fengyuan.com
0
 
ran100Author Commented:
Hi,
The layered windows is the 1M Answer.

More information at:
http://www.codeproject.com/useritems/trans.asp
http://www.codeproject.com/w2k/win2k_transparent.asp

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now