Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何为 Word 文档设置自定义 IBeam 光标?
我使用以下代码从位图创建光标:
Dim myCur = New Cursor(bmp.GetHicon)
Word 对象模型不提供修改各种游标类型(Word.WdCursorType 枚举)使用的游标的方法。它采用运行系统的默认类型。这就是为什么 Cursor 对象是 SYSTEM 对象的属性:WordApp.System.Cursor
因此,您需要更改 Windows 的光标,我假设这是使用 Windows API 完成的,但是可以使用 VB.NET 完成......