We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

NPN ForceRedraw

« Gecko Plugin API Reference « Browser Side Plug-in API


Asks the plugin host to immediately (synchronously) repaint invalid areas.

Note: As of Firefox 4, this function no longer has any effect when running with separate plugin processes.


#include <npapi.h>
void NPN_ForceRedraw(NPP instance);


The function has the following parameters:

Plug-in instance for which the function forces redrawing.


Once a region of a windowless plugin has been invalidated with NPN_InvalidateRect() or NPN_InvalidateRegion(), a plug-in can call NPN_ForceRedraw() to force a paint message. This causes a synchronous update event or paint message for the plug-in. Browsers may ignore this request.

See also

Document Tags and Contributors

 Last updated by: wbamberg,