How Do You Change Mouse Pointer In Visual Basic 6?
Visual Basic (VB) is considered a very easy programming language to learn. Visual Basic is a derivative of the old DOS Basic programming language. Visual Basic 6.0 was released in 1998, and Microsoft stopped support for this version in March 2008. Visual Basic .NET is the newest release of the Visual Basic family, and is now simply called Visual Basic. This article focuses on the mouseover command for a text box. With minor changes to the code, it will work for any mouse commands. Open Visual Basic 6.0. Type the following code: Private Sub MyText_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) MyText is the name of the textbox that you will be doing the mouseover. Type the next line of code: MyText.MousePointer = vbHourGlass This will produce the hourglass mouse pointer when the mouse goes over the MyText textbox.