Is it possible to rename a highlighted file in a treeview control?
If so, could someone point me in the right direction?
Is it possible to rename a highlighted file in a treeview control?
If so, could someone point me in the right direction?
I'm assuming you mean edit... here's a start.
gg
That works 90% of what I want, thanks.
After looking at that, I have another question. Is it possible to get the string of the new file, and see if it has a certain extension, and if not, don't allow the rename?
Handle the TVN_BEGINLABELEDIT Notification and send TVM_GETEDITCONTROL in the handler.
(see remarks section in above link)
gg
Thank you. I will try that out and see how it goes.Originally posted by Codeplug
Handle the TVN_BEGINLABELEDIT Notification and send TVM_GETEDITCONTROL in the handler.
(see remarks section in above link)
gg