Results 1 to 4 of 4

Thread: How to change the cursor in run time? *resolved*

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    251

    How to change the cursor in run time? *resolved*

    Hey guys!

    How I do that?

    Thanks,

    Elminster
    Last edited by Elminster; Nov 11th, 2002 at 11:56 AM.

  2. #2
    Fanatic Member
    Join Date
    Apr 2002
    Posts
    638
    you mean a custom cursor, or just change it to something like the hourglass?

  3. #3
    Fanatic Member
    Join Date
    Apr 2002
    Posts
    638
    if you mean custom, then it's this:

    VB Code:
    1. Form1.MouseIcon = LoadPicture("custom.ico")
    2. Form1.MousePointer = 99

    otherwise:

    VB Code:
    1. Form1.MousePointer = vbHourglass

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    251
    Really thanks man!

    I forgot the "form1." part heheh...

    I was doing without it.. eheh

    Thanks,

    Elminster

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