在全屏模式下在 axwindowsmediaplayer 控件上覆盖标签? [英] Overlay a label on an axwindowsmediaplayer control while in fullscreen mode?

查看:38
本文介绍了在全屏模式下在 axwindowsmediaplayer 控件上覆盖标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所暗示的,我想在全屏模式下在 axwindowsmediaplayer 控件上覆盖一个标签.

As the title suggests, I'd like to overlay a label on an axwindowsmediaplayer control while in fullscreen mode.

有人知道怎么做吗?

谢谢,

推荐答案

您可以使用 windowlessVideo 属性.它在文档中提到了这个确切的用例.

You may be able to use the windowlessVideo property. It mentions this exact use case in the documentation.

默认情况下,嵌入式 Windows Media Player 控件在客户区域内的自己的窗口中呈现视频.当 windowlessVideo 设置为 true 时,Windows Media Player 对象会直接在客户区呈现视频,因此您可以应用特殊效果或将视频与文本分层.

By default, an embedded Windows Media Player control renders video in its own window within the client area. When windowlessVideo is set to true, the Windows Media Player object renders video directly in the client area, so you can apply special effects or layer the video with text.

这篇关于在全屏模式下在 axwindowsmediaplayer 控件上覆盖标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆