Solved

transparency between windows

Posted on 2001-07-25
5
305 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
Comment Utility
Few more details:

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

Expert Comment

by:Black_End
Comment Utility
0
 

Author Comment

by:ran100
Comment Utility
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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

743 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

12 Experts available now in Live!

Get 1:1 Help Now