Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前在 Windows XP 上使用 Smalltalk Visualworks。有没有办法(以及哪一种)隐藏(最好)或禁用窗口标题默认按钮(最小化,最大化)?作为替代方案:禁用他们的事件。搜索指南和互联网 - 到目前为止(几天)没有结果。
您需要使用 DLLCC 与 WinAPI 的 C 接口进行通信。然后你需要找到一种方法来删除按钮,也许使用 SetWindowLong()。您可以通过询问其#windowHandle 从VisualWorks 窗口获取HWND。