Mètode SetCursorShape
Disponible per a tots els objectes.
Prototip
SetCursorShape Proto hWnd:HWND, lCursorShape:LONG
Sintaxi
Invoke SetCursorShape, hWnd, lCursorShape
Funció
Escriu la propietat CursorShape d'un objecte.
Paràmetres
hWnd
"Handle" de l'objecte.
lCursorShape
Valor LONG que indica la nova forma de cursor de l'objecte. Pot ser un dels valors següents:
ecDefault 0 ecArrow 1 ecIBeam 2 ecWait 3 ecCross 4 ecUpArrow 5 ecSizeAll 6 ecSizeNWSE 7 ecSizeNESW 8 ecSizeWE 9 ecSizeNS 10 ecNoDrop 11 ecAppStarting 12 ecHelp 13 ecCustom 14
Valor de retorn
Eax torna TRUE si s'ha pogut escriure la propietat, o FALSE si no.