How To Modify the Windows Default Cursor (160041)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q160041 SUMMARY
The MousePointer property in Visual Basic (which applies to Form, MDIForm,
and a set of selected controls) allows you to modify the cursor's shape for
a Visual Basic application. However, if the cursor is moved away from the
Visual Basic application, its shape is determined by other applications or
by the Desktop.
This article describes how to modify the cursor's default settings so that
these changes are reflected throughout the Desktop.
NOTE: Due to a bug in Windows NT, this article only applies to Windows 95
and Windows 98. Microsoft is researching this issue and will post new
information here in the Microsoft Knowledge Base as it becomes available.
On Windows 2000, this program works but not as expected. In the code that follows, in Command1_Click toggles the pointer between an arrow and an arrow/hourglass icon. And the code in Command2_Click has no affect.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbAPI kbhowto KB160041 |
---|
|