简体   繁体   English

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

[英]How to hide the wait cursor while loading windows mobile program

I have an application written in C# and running on Windows Mobile 5. It currently takes several seconds to load all of the assemblies. 我有一个用C#编写并在Windows Mobile 5上运行的应用程序。当前加载所有程序集需要花费几秒钟的时间。 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? 如何防止显示光标?

You can't. 你不能 The CF execution engine (ie mscoree) itself makes the call to set the wait cursor, and this happens before it even starts JITting code. CF执行引擎(即mscoree)本身会进行调用以设置等待游标,而这甚至是在它启动JITting代码之前发生的。 There's no way to hook into that and no registry entry (known or undocumented) that can turn the behavior off. 没有办法挂钩,也没有注册表项(已知或未记录)可以关闭该行为。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM