![]() |
【转帖】slow Regeneration
slow regeneration
slow regeneration hi, we developed an activex control for displaying dwg files using dwgdirect libraries version 1.13. we have a third party menu control just above the drawing control in the web page and its contents are opening above the drawing control. during the testing we noticed that the regeneration (painting) of the drawing is too slow. with 1mb drawings control is literally dragging. code for the on paint view.h odgsdeviceptr m_pdevice; cpp void dwgtest::onpaint() { odgicontext::regenabort(); cpaintdc dc(this); // device context for painting if(!m_pdevice.isnull()) { if(m_bopenflag && m_bdisplayflag) m_pdevice->update(); else { crect objcrect; getclientrect(objcrect); dc.fillsolidrect(objcrect,m_backgroundcolor); } } } m_bopenflag , m_bdisplayflag both are true if drawing opened thanks rr thanks rejeesh_adr none ? | ? thread tools display modes linear mode search this thread rate this thread excellent good average bad terrible posting rules you may post new threads you may post replies you may post attachments you may edit your posts is on are on code is off html code is off forum jump user control panel private messages subscriptions who's online search forums forums home general topics news questions and remarks business issues industry commentary general software issues documentation issues future directions dwg libraries dwgdirect.net dwgdirect, c++ version dwgdirectx, activex version adtdirect/c3ddirect opendwg toolkit/viewkit dgn libraries dgndirect, c++ version (2.x+) dgndirect libraries (legacy 0.99xx) all times are gmt -7. the time now is 10:45 pmfff">. - - - copyright ?2000 - 2009, jelsoft enterprises ltd. copyright 1998-2008 open design alliance inc. |
所有的时间均为北京时间。 现在的时间是 04:35 AM. |