locked
Windows Mobile 6.1 Loader Icon RRS feed

  • Question

  • Surely this question has been asked before, I apologize for asking again, but I can't seem to find an answer... Is there a way I can display the loader icon (which is displayed by default when an application is loading) within my application during slow running tasks?
    Wednesday, July 15, 2009 9:47 PM

Answers

  • Hi KDavie ,

    for standard/OS wait cursor you can use below code snippet .

    Cursor.Current = Cursors.WaitCursor;

    // DO SOMETHING

    Cursor.Current = Cursors.Default;


    for custom wait cursor see this thread : Link


    Hope this may be help.



    Pavan Pareta | If you find my post is helpful for you then mark as a answer.
    • Proposed as answer by WmDev Thursday, July 16, 2009 4:47 AM
    • Marked as answer by warrentang Monday, July 20, 2009 7:50 AM
    Thursday, July 16, 2009 4:47 AM

All replies

  • Hi KDavie ,

    Whenever your application is loading you can show a form containing your application icon & do some aninamtion for that icon (e.g rotating) and show user friendly message  on the form. And run your application loading code in  Background.




    Hope you'll get an idea what I want to say. :)


    Thanks Mohsin S.
    Thursday, July 16, 2009 4:06 AM
  • Hi KDavie ,

    for standard/OS wait cursor you can use below code snippet .

    Cursor.Current = Cursors.WaitCursor;

    // DO SOMETHING

    Cursor.Current = Cursors.Default;


    for custom wait cursor see this thread : Link


    Hope this may be help.



    Pavan Pareta | If you find my post is helpful for you then mark as a answer.
    • Proposed as answer by WmDev Thursday, July 16, 2009 4:47 AM
    • Marked as answer by warrentang Monday, July 20, 2009 7:50 AM
    Thursday, July 16, 2009 4:47 AM
  • Thanks for the replies.... I was hoping that I wouldn't have to create my own loader or use the wait cursor, but if the default loader isn't available I'll go that route.  

    Thanks again.

    -Kevin
    Thursday, July 16, 2009 5:17 PM
  • Thanks Pavan... I didn't realize the wait cursor was exactly what I was looking for. I knew the answer was right in front of me.  Thanks again!
    Thursday, July 16, 2009 9:29 PM