如何在加载Windows Mobile程序时隐藏等待光标
我有一个用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能。 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.