Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTTreeCtrl, TVN_DELETEITEM?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTTreeCtrl, TVN_DELETEITEM?

 Post Reply Post Reply
Author
Message
Feeblez View Drop Down
Newbie
Newbie
Avatar

Joined: 24 March 2004
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Feeblez Quote  Post ReplyReply Direct Link To This Post Topic: CXTTreeCtrl, TVN_DELETEITEM?
    Posted: 24 March 2004 at 10:50am

i'm using CXTTreeCtrl, and have associated data with each item in the tree using TVITEM.lParam to store the data pointer.

the data is allocated so when an item is deleted i want to free the associated data.

only trouble is i'm not recieving a TVN_DELETEITEM WM_NOTIFY message.

i've tried the following in my message map:
ON_NOTIFY( TVN_DELETEITEM, IDC_TREE_DOCUMENT, OnDeleteItem )ON_NOTIFY_REFLECT( TVN_DELETEITEM, OnDeleteItem )

but no joy with OnDeleteItem getting called, so i'm stuck how to free my data up.

any help is apprecited...

Back to Top
Feeblez View Drop Down
Newbie
Newbie
Avatar

Joined: 24 March 2004
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Feeblez Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2004 at 12:01pm
it's ok, i've figured it out now
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.