이 문서는 기술적인 검토가 필요합니다.
Lets a plug-in display a message on the browser's status line.
#include <npapi.h> void NPN_Status(NPP instance, const char* message);
The function has the following parameters:
- Pointer to the current plug-in instance.
- Pointer the buffer that contains the status message string to display.
You can use this function to make your plug-in display status information in the browser window, in the same place the browser does. If your plug-in has a button or other object that acts as a link when clicked, you can call
NPN_Status() to display a description or URL when the user moves the cursor over it.
The browser always displays the last status line message it receives, regardless of the message source. Your message is always displayed, but you have no control over how long it stays in the status line before another message replaces it.