// window étant la fenêtre dont on veut masquer le curseur, ou un contrôle window.setCursor((Cursor) Toolkit.getDefaultToolkit().createCustomCursor(new BufferedImage(32, 32, BufferedImage.TRANSLUCENT), new Point(0,0), "curseurInvisble"));
'***Cacher le curseur Windows.Forms.Cursor.Hide() '***Afficher le curseur Windows.Forms.Cursor.Show() '***Position du curseur Dim CursorPoint As Point CursorPoint = Windows.Forms.Cursor.Position
API("USER32","ShowCursor",Faux)
ShowCursor(False); // Cache le curseur ShowCursor(True); // Restitue le Curseur
'URL: http://www.allapi.net/ Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long Private Sub Form_Load() 'Hide the cursor ShowCursor 0 'Wait 10 seconds t = Timer Do: DoEvents: Loop Until Timer > t + 10 'Show the cursor ShowCursor 1 End Sub