Tree view memory access error
I'm trying for the first time setting the configuration variable TV_EDITLABELS to 1 to allow the users to edit labels on tree views.
In my program, when I click on a tree view label, I get the expected MSG_TV_BEGINEDITLABEL message, but after I edit the contents of the label and hit Enter, I don't get the expected MSG_TV_ENDEDITLABEL message, but the program crashes with a "Memory access violation" system error message instead.
Any ideas of how could I fix this?
Re: Tree view memory access error
What version are you using. I'm not getting a mav. Here's what I did - I used our treesamp.cbl program and added this to the tree-events paragraph:
display message box "start"
display message box "done"
I run the program in debug, right click on a tree label and see the code goes to MSG_TV_BEGINEDITLABEL, change the tree item and use enter, then in the debugger I see the code goes to MSG_TV_ENDEDITLABEL.