Solved

transparency between windows

Posted on 2001-07-25
5
334 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

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…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

828 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