I have an application written in C# and running on Windows Mobile 5. It currently takes several seconds to load all of the as开发者_JAVA技巧semblies. 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 (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.
精彩评论