Results 1 to 11 of 11

Thread: does anyone know how to..

  1. #1
    Jossh
    Guest

    does anyone know how to..

    basically what im trying to do is no matter what happens in the application, whether something in a webbrowser has been clicked or whatever i want the cursor to stay normal (default)

    can anyone help?
    thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    The operating system itself, as well as many pieces of canned software that come with the operating system, like the IE, take control of the mouse pointer.

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Why would you want to do this anyway? Mots people are used to certain mouse icons at certain times:

    Waiting : Hourglass

    Resizeing : The Arrow thing

    Web : The Hand.

    Why would you want to change this?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  4. #4
    Jossh
    Guest
    i am trying to do this because im using a webbrowser that is not visible on the form, but is still their..
    using a command button on my form it clicks a button on the webbrowser causing a hourglass cursor, i do not wish this to happen.

    regards.

  5. #5
    Jossh
    Guest
    im thinking this is either really hard, or impossible..
    i just, somehow, don't want the webbrowser to give off a hourglass pointer when it navigates..
    anyone else got any ideas?

    thanks

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    If you can figure out exactly where and when to use

    Screen.Mousepointer = vbNormal
    OR
    Me.Mousepointer = vbNormal

    (normal?)

    then you probably have your problem solved.

    Have you tried this yet?

  7. #7
    Jossh
    Guest
    thanks for the reply, yes i have tried that...
    it will reduce the time the pointer is a hourglass, but not completley because as far as i know, 2 lines of code can't be executed at EXACTLY the same time, thus it stil has a hourglass pointer for a period of time..

  8. #8
    TheUnknown
    Guest
    Does it need to be a web browser. Couldn't you use the winsock control or inet control?

  9. #9
    Jossh
    Guest
    unless you know how to "click" command buttons on a webpage using inet or winsock, no..
    i was thinking is their a property or somethign to see if the mouse is on the form and if it is set the mouse pointer to defult?

  10. #10
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    You can click Command Buttons.

    Something like:
    VB Code:
    1. WebBrowser1.Document.Form.submit
    Last edited by Bruce Fox; Apr 14th, 2002 at 11:59 PM.

  11. #11
    Jossh
    Guest
    notice the: on a webpage using inet or winsock

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width