hide cursor

Discussion in 'Questions (Windows Mobile)' started by micro, Sep 19, 2008.

  1. micro

    micro Well-Known Member Licensed User

    Hi,
    how I can hide the cursor from screen?

    Thanks
     
  2. Ricky D

    Ricky D Well-Known Member Licensed User

    Not sure

    Hi.

    I had a look at VB2005 and it has a Cursor.Hide method.

    I tested it on my PPC but alas it didn't do anything. I was hoping it would and we'd be able to use Door.dll to maybe do it.

    :sign0013: I'm not helping. Can you help here Erel?

    regards, Ricky
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Which cursor do you want to hide?
     
  4. micro

    micro Well-Known Member Licensed User

    The classic cusore of the mouse (arrow), even if the mouse is not present.
    The OS is Windows CE 5.0.

    Best Regards
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    The following code works on the desktop and according to the documentation is should also work on a Windows CE device.

    obj is an Object from the Door library.
    Code:
    Sub App_Start
        Form1.Show
        obj.New1(
    False)
        obj.CreateNew(
    "System.Windows.Forms.Cursor" & obj.System_Windows_Forms)
        obj.RunMethod(
    "Hide")
        
    'obj.RunMethod("Show") 'Show the cursor
    End Sub
     
  6. micro

    micro Well-Known Member Licensed User

    Ok Erel ;)

    Bye
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice