> 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);
This is working fine but there is again one issue. After calling win->size_range(0, 0, -1, -1); Now if i try to resize the window then its size become (0,0) i.e. i see only some part of title bar, there is no window's view area visible To solve this, after starting the resizing i tried following X = win->x(); Y = win->y(); W = win->w(); H = win->h(); win->size_range(0, 0, -1, -1); win->resize(win->w(), win->h(), win->w(), win->h()); or Fl_Double_Window::resize(X,Y,W,H); But window size is still (0,0) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

