如何在加载Windows Mobile程序时隐藏等待光标

发布于 2024-09-27 01:44:08 字数 106 浏览 1 评论 0原文

我有一个用 C# 编写并在 Windows Mobile 5 上运行的应用程序。目前加载所有程序集需要几秒钟的时间。在此期间,等待光标在屏幕顶部旋转。我想显示带有进度条的启动屏幕。如何防止光标显示?

I have an application written in C# and running on Windows Mobile 5. It currently takes several seconds to load all of the assemblies. During that time the wait cursor spins on top of the screen. I would like to show a splash screen with a progress bar instead. How can I prevent the cursor from being displayed?

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

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

发布评论

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

评论(1

心的位置 2024-10-04 01:44:08

你不能。 CF 执行引擎(即 mscoree)本身会调用设置等待光标,这甚至在它启动 JITting 代码之前就发生。没有办法连接到这一点,也没有注册表项(已知的或未记录的)可以关闭该行为。

You can't. The CF execution engine (i.e. mscoree) itself makes the call to set the wait cursor, and this happens before it even starts JITting code. There's no way to hook into that and no registry entry (known or undocumented) that can turn the behavior off.

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