CTreeCtrl and MFC Dialog
-
hi, i want to disable the possibility to change the label of an item of a CTreeCtrl. SetReadOnly() namely makes it possible that the user can't edit the item's label, but the edit control box is still displayed and that shouldn't happen. Any ideas ? Thanks in advance!
-
hi, i want to disable the possibility to change the label of an item of a CTreeCtrl. SetReadOnly() namely makes it possible that the user can't edit the item's label, but the edit control box is still displayed and that shouldn't happen. Any ideas ? Thanks in advance!
-
hi, i want to disable the possibility to change the label of an item of a CTreeCtrl. SetReadOnly() namely makes it possible that the user can't edit the item's label, but the edit control box is still displayed and that shouldn't happen. Any ideas ? Thanks in advance!
Handle
TVN_BEGINLABELEDIT
, returningTRUE
to prevent editing. -
hi, i want to disable the possibility to change the label of an item of a CTreeCtrl. SetReadOnly() namely makes it possible that the user can't edit the item's label, but the edit control box is still displayed and that shouldn't happen. Any ideas ? Thanks in advance!
In the dialog editor, turn off the "edit labels" style of the tree control. --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released