Yes Richard... I have a draw function in plugincore class which will call refresh event like below.
bool MyPlugin::draw( FB::RefreshEvent *evt, FB::PluginWindow* win )
{
return true;
}
But In my scenario I used a child window to draw the selected images. So I have created the child window and called the invalidateRect with in openFile() function using below code.
InvalidateRect(hChildWin, NULL, true);
It was perfectly done its job well before boost::thread code used. After I used the boost::thread functionality in order to avoid "stop script" dialogue in firefox the child window is just flashed with the images and disappeared.
Thanks Richard and Neil for your suggestion.
Thanks,
Yoga V