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

    Bug w/ in place editing for tree control

    Hi Everyone,

    I have dialog box which contains a tree control. In the tree control, I allow the user to edit (in place) the items in the tree. As soon as the user hits the Enter key to signify the end of editing, my CDialog::OnOK() gets called immediately (even before I get the notification message TVN_ENDLABELEDIT). Has anyone seen this? I don't get the same problem if the code is moved to a CFormView. Thanks in advance.

    BTW, I don't get this problem if the user edits the tree items, and clicks on another item in the tree control (to signify the edit of an edit).


  2. #2
    Join Date
    May 1999
    Location
    Reading, England
    Posts
    28

    Re: Bug w/ in place editing for tree control

    The answer is on this very site!

    http://www.codeguru.com/treeview/esc_edit.shtml



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