0

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.

user3336737
  • 71
  • 1
  • 5

1 Answers1

1

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.

Community
  • 1
  • 1
Georg Fritzsche
  • 97,545
  • 26
  • 194
  • 236