显示而在全屏窗口 [英] show window while in full screen
问题描述
我怎么能显示一个窗口,当我发挥电影在全屏幕而不退出电影播放的全屏幕模式?我只想窗口apear上topof电影。我知道,因为雅虎messeger每次showes你皮尔森或缩小签署时间做它,这是更多钞票,我敢肯定,有认为这样做也有其他方案,但我现在不记得。
how can I show a window when I play a movie in full screen without exiting full screen mode of the movie player? I just want the window to apear on topof the movie. I know this is posible because yahoo messeger does it every time it showes you that a pearson has signed in or out , and I'm sure that there are other programs that do it also but I just can't remember now.
它可以在C / C ++的MFC,赢得API,C#,WPF它没有母校。
it can be in C/C++ mfc, win api , c# , wpf it doesn't mater.
推荐答案
只显示与放置它的全屏窗口顶部的z顺序的窗口。我想,你可以通过调用 SetWindowPos
通过 HWND_TOP
做到这一点。事情是这样的:
Just show the window with a z-order that places it on top of the full screen window. I think you can do this by calling SetWindowPos
passing HWND_TOP
. Something like this:
SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
您可能要包括 SWP_NOACTIVATE
,以及或者可能还有一些其他的 SWP _ ***
选项。您可以检查的和uFlags 的参数中的 SetWindowPos ,在不同的 SWP _ ***
消息。
You may want to include SWP_NOACTIVATE
as well, or possibly some of the other SWP_***
options. You can check the uFlags parameter in the SetWindowPos function for the different SWP_***
messages.
这篇关于显示而在全屏窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!