RE: Win32Lib: Possible problem with eraseItems() against a tree view?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek,

I think I figured out why this is happening but I don't know if it's a 
problem or a "feature".  Try this and see if it slows down the 
eraseItems():

1. Right click in the desktop
2. Select "Properties" from the popup
3. Click the "Effects" tab
4. Check the "Use transition effects for menus and tooltips" (I'm 
assuming it's not checked on your system).
5. Click Okay.

Now run the program and see if the clear time is not dramatically 
increased.

Maybe I should call Uncle Bill on this one?  :)

Jonas
Derek Parnell wrote:
> 
> 
> On Tue, 03 Jun 2003 21:08:13 +0000, Jonas Temple <jtemple at yhti.net> 
> wrote:
> 
> >
> > Less than a second?  On this Win2K machine (I think the processor is 
> > 1gHz) it takes 15 seconds.  Even if your machine is a 2+ GHZ that 
> > shouldn't make a 15 second difference.
> >
> 
> In fact, I commented out the memory management stuff in win32lib and 
> just 
> ran the API call. It still took 1 second for 2500 items. So I guess the 
> Eu 
> overhead is very very small.
> -- 
> 
> cheers,
> Derek Parnell
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu