> > Does calling size_range() on the window to set the max == min when
> > you start the operation not work?
>
> If i call size_range() in resize function then after executing the resize 
> function two times control never comes in resize function.
>
> Please give one sample to stop/allow the resizing of window.

Try this.
   Fl_Double_Window* win = new Fl_Double_Window*(500, 300);
   To stop resizing:
      win->size_range(win->w(), win->h(), win->w(), win->h());
   To start resizing again:
      win->size_range(0, 0, -1, -1);

HTH,
Stan




_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to