locked
What are the names of the cursors and mouse pointers in Win 8? RRS feed

  • Question

  • I am writing a VBA program that is to work with mouse pointers and cursors. 
    What would be the code to change them, where are they, and what are their names?

    Can I customize/import my own?


    Everything I know I learned from my cat. No matter what the situation is, there is a napp for that.

    Tuesday, December 23, 2014 4:59 AM

All replies

  • Hi Emerogork2,

    I am moving your thread into the Visual Basic for Applications (VBA) Forum for dedicated support. Thanks for your understanding.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 23, 2014 9:53 AM
  • If you are using Excel, you can change the property Application.Cursor. However, if you you're not using Excel or want a wider set of items, you can follow the steps of this link: http://stackoverflow.com/questions/6200004/how-to-programmatically-change-cursor-in-visio

    If you want that the mousepointer be different only in a userform, you can change the property MouseIcon:

    Private Sub UserForm_Initialize()
      Me.MouseIcon = LoadPicture("c:\test\myicon.ico")
    End Sub

    (check also the property MouseCursor)

    Lastly, if you want to use a custom item outside the userforms, you can use a set of API calls, as explained in this link: http://www.dreamincode.net/forums/topic/36290-create-a-custom-cursor/


    Felipe Costa Gualberto - http://www.ambienteoffice.com.br

    Tuesday, December 23, 2014 3:00 PM
  • Although a lot of these ideas are useful for when I am teaching VB or Excel, this request is to create a "Terminate, Stay Resident" (Are they still called that? TSRs?) program that is run in Windows and changes the cursor for any application or program running.


    Everything I know I learned from my cat. No matter what the situation is, there is a napp for that.

    Tuesday, December 23, 2014 6:27 PM