Solved

transparency between windows

Posted on 2001-07-25
2
279 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now