I have just installed Office 2010 with Access 2010. I used to be able to change the cursor to a hand using the OnMouseMove property by using this code:
Call MouseCursor(32649)
This does no longer seem to work. Has anyone got a solution please?
MouseCursor is a function or a sub somewhere. I've never seen it before, but that doesn't mean it isn't a system function. What would be helpful is to see the code in the funtion MouseCursor, not the code that calls it.
Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day "The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]
On the basis of earlier returns I have created a module called ModLoadCursorHand:
Option Compare Database
Option Explicit
' Declarations for setting the cursor icon when called
Public Const IDC_HAND = 32649&
Public Const IDC_ARROW = 32512&
Public Declare Function LoadCursor Lib "user32" Alias "LoadCursorA" (ByVal hInstance As Long, ByVal lpCursorName As Long) As Long
Public Declare Function SetCursor Lib "user32" (ByVal hCursor As Long) As Long
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.