On 05.09.2016 15:59, code dz wrote: > test case but its windows only > > 2016-09-05 16:57 UTC+02:00, code dz <mr.ce...@gmail.com>: >> Hi >> i made 2 simple zengl app (with lazarus and msegui) , they are identical . >> the problem is when resizing the window , with lazarus it work without >> problem , but with msegui there is a weird behaviour . >> > Either set render_win.optionsclient cwo_trackboundsimmediate or use " procedure draw; begin
if zgl_Resized then begin zgl_Resized := false; // w := mainfo.render_win.ClientWidth; // h := mainfo.render_win.ClientHeight; w := mainfo.render_win.childrect.cx; h := mainfo.render_win.childrect.cy; wnd_SetSize(w,h); end; " It is also possible to use TWindowWidget.OnClientrectChanged, OnClientPaint and FPSmax instead to use an additional TTimer. git master a57c663d6f6e4394bb0b4f188ca3ffb32ca884a7 has cwo_highrestimer and cwo_noleak for convenience. Martin ------------------------------------------------------------------------------ _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk