hello all
i draw a 2D geometry using vgui_rubberband_tableau,and i want to remove it from my project.
codes as:
vcl_vector<vgui_soview*> all_objs = easy_tab->get_all();
 for (vcl_vector<vgui_soview*>::iterator i = all_objs.begin(); i != all_objs.end(); i++)
 {
  if ((*i)->type_name() == "vgui_soview2D_circle")
   easy_tab->remove((vgui_soview*)(*i));
 }
 
but it was still showed in my window . it can be disappeared if i invalidate manually view (for example: drag window,etc.)
so ,please tell me how to invlidate the window and remove this geometry truly.
 
 
angela
2008-06-17