Solved

transparency between windows

Posted on 2001-07-25
5
340 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
[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
  • 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

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

732 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