Reputation: 71
Hi I am developing a windowless NPAPI plugin. I am drawing the images on the plugin . Now my problem is change my cursor in windowless plugin.Please can one help me.
Upvotes: 0
Views: 81
Reputation: 99044
How you hide a mouse cursor completely depends on the platform (operating system) you are on, NPAPI doesn't help you with that.
For windowless plugins you should be able to implement NPP_HandleEvent()
and e.g. on Windows handle WM_SETCURSOR
accordingly
(i.e. call SetCursor()
), but this question suggests that there may be issues with at least Chromes implementation.
Upvotes: 1