Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

transparency between windows

Posted on 2001-07-25
2
Medium Priority
?
283 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 1200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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…

971 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