Hi!

I don't seem to get my Tree View running...

every time I try to compile my (very simple) Prog with the Treeview in it, I get the error

Error E2451 simplewin2.c 169: Undefined symbol 'item' in function AddItemToTree

allthough "item" definitely IS a member variable of the TVINSERTITEM struct... I don't know what I'm doing wrong.

(FYI: I'm using the free Borland Commandlinetools, not MSVC.)

And when I get this to work (hopefully, with your help...) I have the next problem right following: I want the Tree View to display the directory structure of the PC... so I need to scan the drives for all directory names and add 'em to the Tree View... how can I do this?

(FYI 2: I'm NOT using MFC, just the "normal" Win32 API)