CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 1999
    Posts
    62

    A simple doubt on CTreeCtrl



    hi all,

    when i map a NM_CLICK to my CTreeCtrl i find that any where i click in the

    window of the control a NM_CLICK message is generated.

    but i want my code to be executed only when the user clicks on a particular node in my tree.

    can anyone give me a hint of how to do it.i feel it should be easy


    thanking in advance

    arun




  2. #2
    Join Date
    May 1999
    Location
    Antwerp, Belgium
    Posts
    136

    Re: A simple doubt on CTreeCtrl



    Try the TVN_SELCHANGED message.

  3. #3
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: A simple doubt on CTreeCtrl



    in the function called bt the NM_CLICK notification, check to see if it is that special node


    Sally

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured