All Forums
 Microsoft Windows CE
 General CE
 Wait cursor on CE 4.2 and 5.0
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 02 Mar 2005 :  14:47:20  Show Profile  Email Poster
Q: I'm using CE 4.2 (or 5.0) and when the system is busy a spinning hourglass icon appears in the middle of the screen. How do I get rid of it?

First it's important to know that this isn't actually an icon. It is a window and it uses four bitmaps to animate the hourglass. The window and bitmaps are created and controlled by the CE kernel (specifically GWES).

As long as the CE image has cursor support, which all off the shelf ADS images have, then the cursor will be displayed by the system as it deems necessary.

There are a few ways around this:
  1. Find and move the containing window off screen programmatically with the following code:
    HWND hCur = FindWindow(L"static", NULL);
    MoveWindow(hCur, -200, -200, 0, 0, FALSE );
    ShowWindow(hCur, SW_HIDE );

    Other applications may re-center the wait window. If your configuration allows other apps to run, place this code in a location that will get called every time your application gets focus.


  2. Use a CE 4.1 build. ADS doesn't recommend this option for new product development.


  3. Get an ADS CE build that does not include the cursor component. This requires a custom configuration and unique part number from ADS. If you are interested in this option contact our Sales Staff.


Edited by akidder 2-Mar-2005: Add note about CE 4.1.
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000