Delphi 窗体拖动锁定

发布于 2024-07-25 14:24:23 字数 348 浏览 6 评论 0原文

制作一个Delphi 2007应用程序,TForm作为主窗口。 运行应用程序。 尝试使用标题栏拖动表单。 调试器显示无休止的错误消息流,抱怨它找不到某些未命名的例程。 逃脱和突破不起作用。 三指敬礼不起作用。 单击某个其他窗口,然后返回 Delphi 应用程序,可以停止大量的错误消息,并允许应用程序在其原始位置运行(表单本身并未移动)。

奇怪的是,有时我在使用 Firefox 时遇到过相关行为——在浏览器窗口中单击不起作用,直到我单击某个非 Firefox 窗口,然后浏览器窗口再次处于活动状态。

有人见过相关行为吗? 建议? 会不会是鼠标驱动的问题? 配备 ALPS 触摸板鼠标的东芝笔记本电脑。

Make a Delphi 2007 application, TForm as main window.
Run application. Try to drag the form using the caption bar. The debugger shows an unending stream of error messages, complaining it can't find some unnamed routine. Escape and Break don't work. 3 finger salute doesn't work.
Clicking in some other window and then back to the Delphi application stops the avalanche of error messages and allows the application to function in its original location (the form itself hasn't moved).

Strangely, on occasion I've had related behavior using Firefox -- clicking in the browser window doesn't work 'til I click in some non-Firefox window, after which the browser window is active again.

Anyone seen related behavior? Suggestions? Might it be a mouse driver problem? Toshiba laptop with ALPS touchpad mouse.

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

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

发布评论

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

评论(2

满天都是小星星 2024-08-01 14:24:23

这听起来与 Delphi 没有具体关系。 “错误消息流,抱怨它找不到一些未命名的例程”听起来很奇怪。 您能发布一两条实际消息吗?

与此同时,我的猜测是某种形式的挂钩或注入代码。 尝试寻找执行此类操作的程序并一一禁用它们:

  • 鼠标驱动程序(如上面的海报
    说)
  • 防病毒软件,尤其是“大病毒”
    像诺顿等
  • 一些显示驱动程序“增强”
    如果
  • 您有两个屏幕并且您
    运行第二个任务栏程序,尝试
    等等

也许也值得进行病毒扫描,你永远不知道:)

This doesn't sound related to Delphi specifically. The "stream of error messages, complaining it can't find some unnamed routine" sounds very odd. Could you post one or two of the actual messages, please?

In the meanwhile, my guess is some form of hook or injected code. Try looking for programs that do that kind of thing and disable them one by one:

  • Mouse drivers (as a poster above
    said)
  • Antivirus, especially the "big ones"
    like Norton etc
  • Some display driver "enhancement"
    utilities
  • If you have two screens and you're
    running a second taskbar program, try
    that

and so forth.

It's probably worth doing a virus scan too, you never know :)

梦萦几度 2024-08-01 14:24:23

我知道在 Delphi 中启动 Delphi 项目时存在 Logitech 驱动程序挂钩问题:它在 .dpr 的第一行给出了异常。 在德尔福之外它工作正常。

那么你只在 Delphi 中遇到这些异常/问题吗? 什么样的错误/异常?

I know there was a Logitech driver hook problem when starting a Delphi project in Delphi: it gave an exception on the first line of the .dpr. Outside Delphi it worked OK.

So do you get those exceptions/problems only in Delphi? What kind of error/exceptions?

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