Hi Ronan,

I did not try it with the sample.
I have an application that uses the tree ctrl, the earlier version.
what it does is build trees, allow double clicking, drag and drop,
automatic scroll (drag the item out of the window/ into the window, the
tree automatically scroll)
and attaches data to every item in the tree.

What i did, i just replace the files( the source and the header ) and run
my app like as usual and thats when i noticed the memory leak.

the scrolling:
lets say i have a small window and really a lot of tree item with child
item and stuffs. i expanded the view (all tree item are expanded), what you
will see is a a lot of tree items that wont fit into the window.when this
happen, a scroll bar will appear.
what i was going to do was when user drag an item up, to the item that can
t be seen, i want the tree to scroll up so that the item above will be
seen. same thing with going down.
What i implemented now is by checking the tree size limit, it will
determnine if the dragging should be up or down.
Once its determined, i just do scrollto the next item.
So far so good, the only flaw happen when user is trying to drag up and
down up and down without releasing the mouse button.
what i found is everytime the cursor enter the window, onbegindrag event
will called.

Please let me know if further information needs to be provided.

If you are not using wxTreeListCtrl, is there an alternative that people
use now or you just dont use it as much as u dont really need it?


Thank you very much Ronan.

Asa

On Sat, Oct 29, 2011 at 1:24 AM, PGridDev <pgrid...@yahoo.fr> wrote:

> **
> Hi Asa
> I don't use the control much lately, but I am the maintainer...
>
> Can you be more specific about the memory leak? (does it happen with the
> provided sample? When doing something in particular ?)
>
> I do not understand the question about scrolling: the content part of the
> control is a scroll window, scroll bars appear as soon as the window is too
> small ?
>
> Regards
> Ronan
>
>
>
> On 27/10/2011 20:16, asadilan indrabudi wrote:
>
> Hi guys,
>
>  Any of you use this class?
> i am experiencing a memory leak when using wxtreelistctrl 1104 and not
> with the earlier version, can anyone confirm?
>
>  how do i scroll the window with wxtreelistctrl?
> btw this is not the 2.9 wxtreelistctrl but wxtreelistctrl from wxCode.
>
>  Thanx
> Asa
>
>
>
> ------------------------------------------------------------------------------
> Get your Android app more play: Bring it to the BlackBerry PlayBook
> in minutes. BlackBerry App World&#153; now supports Android&#153; Apps
> for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple
> it is! http://p.sf.net/sfu/android-dev2dev
>
> _______________________________________________
> wxCode-users mailing list
> wxCode-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxcode-users
>
>
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to