DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L1994 Version: 1.1.9 i build a fl_double_window`s subclass draws some complex graphs (only use fl_rect,fl_rectf,fl_line)to a dll, start with _beginthread /// dll void TInit(void *) { mw = new Fl_Double_Window(0,0,1280,722); mw->clear_border(); mw->color(SysColor_Face); chart_mw = new MS_Window(2,0,1276,720); chart_mw->end(); mw->resizable(Fl_Window(427,3,100,100)); mw->end(); mw->show(); Fl::run(); } __declspec(dllexport) void __stdcall Init() { beginthread(TInit,0,0)); while(!mw) { _sleep(1000); } SetParent(fl_xid(mw),Parent); ShowWindow(fl_xid(mw),SW_MAXIMIZE); } /// it works well if do not open another apps , the cpu occupancy about 20%at most , but when open a video player , it draws very slow , the cpu occupancy(fltk apps) even high to 100% when redraw continuous happens, even though exit the video player, it still not works better,only if restart the fltk apps , it is works well again. i do not know if there is a bug or something, maybe it is my problem, Whatever, help me please , thanks. system: windows xp sp3 Link: http://www.fltk.org/str.php?L1994 Version: 1.1.9 _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
