在打开另一个窗口时,请防止窗口单击

发布于 2025-01-26 19:30:27 字数 100 浏览 2 评论 0原文

在Windows上,当窗口在另一个窗口的顶部打开时,父窗口将无法单击,并且会发出“ ding”声音,其标题栏将闪烁。它将执行此操作,直到关闭另一个窗口为止。如何在Win32中重新创建它?

On Windows, when a window opens on top of another window, the parent window will not be clickable, and will make a "ding" sound and its titlebar will flash. It will do this until the other window is closed. How do I recreate this in Win32?

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

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

发布评论

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

评论(1

浊酒尽余欢 2025-02-02 19:30:27

您要寻找的单词是模态和无调

模态对话框不允许用户与父窗口进行交互,直到他们被解散。

a>文档涵盖用于创建模态对话框的Win32 API。

The words you are looking for are modal and modeless.

Modal dialogs won't let the user interact with the parent window until they've been dismissed.

This document covers the Win32 API for creating modal dialogs.

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