I am new in community and i just want to know if someone have a demo code for a Treeview of Directory and file selection..

NB. I have a poor English vocabulary...
Posted on 2003-10-20 11:48:49 by BinBin

KetilO has an excellent algorithm here that does that.
Posted on 2003-10-20 12:18:18 by donkey
It is not completele the kind of program code i need but if i don't find TreeView like in SysTreeView32 call.
i will mixe ideas.

If you have something else let me know !

By the way do you know where i can download WinAsm V2.0.0.2 full..

Thank !
Posted on 2003-10-20 12:55:33 by BinBin
You know why we have 1 mouth 2 eyes ...

It is because we have to look 2 times before reply one ..

The reference is good thank you !

Posted on 2003-10-20 13:16:41 by BinBin
I change the good code of KetilO for adapte of Masm32

it is working fine exept when i have a lot of item inside the tree

In TreeViewDir.inc
if i try
szRoot db '.\',0
it's working fine
if i try
szRoot db 'C:\',0

I have error looking like i bust reserve of memory

Any suggestion !

Posted on 2003-10-21 10:48:41 by BinBin
I made a little change to the code i increase the buffer for the path.
I put select box.

Steel the same.

Look the jpg picture for error code and let me know if you can do something.
I steel searching..

Posted on 2003-10-22 07:06:44 by BinBin
A lot of think but ??&&$$$22""2@@@###

TREEVIEWDIR a caus? une d?faillance de pile dans le module COMCTL32.DLL ? 017f:bfbb403c.
Registres :
EAX=00542280 CS=017f EIP=bfbb403c EFLGS=00010207
EBX=014c7518 SS=0187 ESP=00542000 EBP=00542000
ECX=00000002 DS=0187 ESI=0051001c FS=33cf
EDX=000253a4 ES=0187 EDI=0051001c GS=0000
Octets ? CS : EIP :
6a ff 68 e0 23 b7 bf 68 18 0c bd bf 64 a1 00 00
?tat de la pile :
00542268 bfbc655a 014c7518 00000000 00000200 0051001c 00001113 00000000 00000000 00000000 00000000 00000000 00000004 00000000 00000003 81911b14

The power of assembler == 454 hemi
But it is depend of the one who driving it...

Posted on 2003-10-23 07:30:16 by BinBin
Always on 'the bug' ...

after NbItem = 8770 in the TreeView

The bug appear.

Any suggestion ?

Posted on 2003-10-23 08:43:52 by BinBin