AviSaveOptions() 对话框窗口扭曲!

发布于 2024-08-17 20:33:11 字数 203 浏览 5 评论 0原文

我使用的是Windows XP,希伯来语版本。 我正在尝试使用 C++ 中的 Video For Windows API 保存 AVI 文件,当我运行 AviSaveOptions() 函数时,该对话框将在屏幕一角以不可点击的细条形式打开。 它与语言(希伯来语)有什么关系吗?也许与 vfw 驱动程序本身有关?什么可能导致 Windows 对话框窗口扭曲/不可见?

谢谢 罗伊

I'm using windows XP , hebrew version.
I am trying to save an AVI file using the Video For Windows API in C++, when I run the AviSaveOptions() function, the dialog opens as a thin unclickable strip at the corner of the screen.
Would it have anything to do with the language (Hebrew)? maybe with the vfw driver itself? what might cause a windows dialog window to be distorted/invisible?

thanks
Roey

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

初见你 2024-08-24 20:33:11

无法真正回答您的问题,但我发现 AVISaveOptions 对话框的本地化版本存在问题。尽管系统上安装了更多编解码器,但其瑞典 Windows XP 版本只显示了一种编解码器。在多个瑞典 XP 安装上进行了验证。我们可以测试的其他语言没有显示这一点。向微软提交了一份错误报告,令我惊讶的是,从未收到回复。

一般来说,AVIFile API 似乎是由一群喝醉的猴子制定和实现的,所以如果他们把希伯来语版本弄得面目全非,我不会感到非常惊讶。

Can't really answer your question, but I've seen problems with localized versions of AVISaveOptions dialog. The Swedish Windows XP version of it never showed but one codec, although more were installed on the system. Verified on several Swedish XP installations. Other languages we could test didn't show this. Submitted a bug report to MS, and to my great surprise, never heard back.

The AVIFile API in general seems to be spec'ed and and implemented by a bunch of drunken monkeys, so I wouldn't be hugely surprised if they had botched the Hebrew version beyond recognition.

灰色世界里的红玫瑰 2024-08-24 20:33:11

我发现 AVISaveOptions 对话框出现类似的变形,只有在安装了阿拉伯语语言包且显示语言设置为阿拉伯语的 Windows 7 Ultimate(英语)中才出现。

对我来说,解决方法是将 uiFlags 参数设置为 ICMF_CHOOSE_PREVIEW,检查 AVISaveOptions 文档。如果您不想在对话框上使用预览功能,那么这不是一个理想的解决方案,但至少它是可见的并正确显示。

I've seen a similar distortion of the AVISaveOptions dialog, only with Windows 7 Ultimate (English) with the Arabic language pack installed and the display language set to Arabic.

For me the workaround was setting the uiFlags parameter to ICMF_CHOOSE_PREVIEW, check the AVISaveOptions documentation. Not an ideal solution if you don't want the preview functionality on the dialog, but at least it is visible and displayed correctly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文