ok now dont laugh because i am new to this ive tried all kinds of stuff to make a tree and im goin nutz! right now im tryin somethin crazy.

CTreeCtrl::InsertItem(TVIF_TEXT | TVIF_IMAGE | TVIF_SELECTEDIMAGE, "Root", 0,
1, NULL, NULL, NULL,
TVI_ROOT, TVI_FIRST);

ive got a dialog box with a tree in the editor im tryin to edit it. now try to find a spot in a dialog prog this would fit and this is bad code but its what im tryin oh and it isnt derived i just want to dispal the root but every book says somethin different and they all dont work plez help me im goin nutz!