Solved

transparency between windows

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

  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 …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

777 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