Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Wait Cursor for WM 5.0+

Wait Cursor for WM 5.0+

Scheduled Pinned Locked Moved Mobile
c++visual-studiotutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    akirilov
    wrote on last edited by
    #1

    Does somebody know how to show/hide the 'wait cursor' for WM 5.0 or above? I'm writing in VS 2005 C++ 'native code', but code should be enough.

    D P A 3 Replies Last reply
    0
    • A akirilov

      Does somebody know how to show/hide the 'wait cursor' for WM 5.0 or above? I'm writing in VS 2005 C++ 'native code', but code should be enough.

      D Offline
      D Offline
      Dushan123
      wrote on last edited by
      #2

      In C# it is like this you need to import System.Windows.Forms namespace Cursor.Current = Cursors.WaitCursor;

      ssss

      1 Reply Last reply
      0
      • A akirilov

        Does somebody know how to show/hide the 'wait cursor' for WM 5.0 or above? I'm writing in VS 2005 C++ 'native code', but code should be enough.

        P Offline
        P Offline
        PavanPareta
        wrote on last edited by
        #3

        Hi,

        private DoProcess()
        {
        Cursor.Current = Cursors.WaitCursor;
        /*
        Write your own code here
        */

        Cursor.Current = Cursors.Default;

        }

        Hope that this may be help

        Pavan Pareta

        1 Reply Last reply
        0
        • A akirilov

          Does somebody know how to show/hide the 'wait cursor' for WM 5.0 or above? I'm writing in VS 2005 C++ 'native code', but code should be enough.

          A Offline
          A Offline
          akirilov
          wrote on last edited by
          #4

          Than you very much - it worked fine. Because I'm writing in C++ native, here is how to do it trough Win API:

          SetCursor((HCURSOR)IDC_WAIT); // shows wait
          ...
          SetCursor(0); //hide cursor

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups