Christian Biesinger wrote:
Sergey Vasilyev wrote:

I am writing my own mozilla component in C++. And I want change a mouse pointer on MouseMove event fom some conditions, for example.


If you can get hold of an nsIDOMChromeWindow, you can use its SetCursor method, passing it a CSS cursor keyword.

If you can get an nsIWidget, you can call one of its SetCursor methods.

If you can get an nsIEventStateManager, you can use its SetCursor method.


 From an event handler, using nsIDOMChromeWindow is probably best.

Thank you for answer!

How can I get nsIDOMChromeWindow interface? I can't find it! I see nsGlobalWindow is inherited from this interface, but nowhere else.

Thank you again.
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to