Solved

transparency between windows

Posted on 2001-07-25
2
280 Views
Last Modified: 2013-12-03
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
Comment
Question by:ran100
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
FengYuan earned 300 total points
ID: 6320734
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
 

Author Comment

by:ran100
ID: 6321293
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question