Solved

transparency between windows

Posted on 2001-07-25
5
319 Views
Last Modified: 2012-08-13
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

Waiting for advises

Thanks
Ran
0
Comment
Question by:ran100
  • 3
  • 2
5 Comments
 

Author Comment

by:ran100
ID: 6318028
Few more details:

* OS Win2000
* DirectX 7
* Code in C++
0
 
LVL 1

Expert Comment

by:Black_End
ID: 6318051
0
 

Author Comment

by:ran100
ID: 6319371
That was fast ...
Thanks

I Load the sample project to VC6,
And I get a linker error LNK2001,
About the sdk SetLayereWindowAttributes(..).
I add the library user32.lib to the setting of the project, but nothing changed.

Any idea ?

Ran
0
 
LVL 1

Accepted Solution

by:
Black_End earned 300 total points
ID: 6321225
You need to use the latest lib from the platform SDK, the libs that comes with MSDEV are pre win2000 and will not know knowthing about SetLayereWindowAttributes
0
 

Author Comment

by:ran100
ID: 6321278
You right.
I don't have the last SDK so, I load the DLL.

There is also more information at http://www.codeproject.com/w2k/win2k_transparent.asp

Thanks a lot

Ran
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

895 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

15 Experts available now in Live!

Get 1:1 Help Now