开发者

How to get the current cursor from a WebBrowser control?

I'm having problems with getting the current cursor from the WinForm WebBrowser control. It's always returning the Default cursor.

Mouse cursor changes depending on what element it currently is on. If it's over a link then the Cursor changes to "Hand"; if on a TextBox then it becomes an "IBeam". So, I want to somehow get that information.

Cursor.Current g开发者_JAVA技巧ives me the right cursor, if the WebBrowser control is placed on a WinForm but not when it is hosted in WPF.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜