Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

NPN_ForceRedraw

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

Summary

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.

Syntax

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

Parameters

The function has the following parameters:

instance
Plug-in instance for which the function forces redrawing.

Description

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

Tags: 
 Contributors to this page: teoli, Sheppy, BenjaminSmedberg, Mook, Pmash
 Last updated by: Sheppy,