Re: Windows treeview bug!

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

Have you also tried TreeView_EnsureVisible?

Euman
euman at bellsouth.net

> I tried that, it doesn't work. But it works if I resize treeview after
> inserting items, and even that not allways.
> >
> > I think you can force a repaint of the TV let me look into it since I too
> > currently have an issue with TVN_ITEMEXPANDING in API code.
> >
> > Euman
> > euman at bellsouth.net
> >
> > > If Treeview is created with TVS_NOSCROLL style and all its items are
> deleted
> > > with
> > >  sendMessage (TV, TVM_DELETEITEM, 0, TVI_ROOT)
> > > before items are inserted,
> > > then tree items are not visible until next time tree is resized.
> > >
> > > This is Windows bug, because I tried it with C++ program and it was the
> > > same.
> > >
> > > It was also very hard to discover.
> > >
> > > What to do :-o ???
> > >
> > >
> > > Additional quesion:
> > > When's next release of Win32Lib and which version are we suposed to use
> now?
> > > I use alpha .56.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu