MOUSE POINTERS

Started by paulDiagnos, June 17, 2008, 07:49:23 AM

Previous topic - Next topic

paulDiagnos

Hey Guys,
Another one for you...

This maybe me the wrong approach to mouse pointers but using the code below i get completely odd results using XP and then Vista

Select Case wMsg   
     Case %WM_SETCURSOR                     
        If LoWrd(LParam) = %HTCLIENT Then
        'Click me link, sets mouse pointer to hand.
           MousePtr 45
                                 
           Function = 1               
        End If
       End Select



the 45 gives me in XP a mouse pointer that is simular to a link in a web browser.

but gives me something differerent in vista.

do i just need to use different numbers for each operating system ? I thought there would have been a better approach for vista to be backwards compatible.