On 25 Jan 2008, at 14:00, Sanel Zukan wrote: >> I try a simple fltk example program on HP Unix(HP-UX B.11.00): >> ... >> and I compile this code no problem, but when I run it, I click the >> button "Resize", the problem no respond. >> I can run the same program on Windows XP very well,just on HP Unix >> has this problem. >> >> I found that: if you resize the window's height bigger, no >> problem,if you resize the window's height smaller, the window will >> no respond. >> >> Why? > > This issue should have nothing with HP-UX as OS but with window > manager > it uses by default. All conforming window managers should resize > window > when it request, except that size goes beyond minimal allowed size. > > You should try with another window manager; e.g. I quickly tested > sample > on fluxbox on linux and it works without problems.
It might also be worth playing around with Fl_Window::size_range (...); to see it that allows your existing WM to respond satisfactorily. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk