问题描述
大家好我跟我一起询问。
1.我有一个sdi windiows探索者类型的应用程序与分离窗口。 leftview是treeview,rightview是listview。我在leftview中打开一个txt文件,并将其显示为带有tokenizer功能的treeview。我在OnSelchanged()函数的帮助下在treeview中选择节点我可以在右视图中显示一些内容,即Listview端。现在我的要求是我必须将tokenizer的输出字符串从leftview传递到rightvie并在列表视图中显示。我不知道该怎么做你可以帮助我吗?
2.在右视图方面,即在Listview方面,当我双击单个单元格时它必须是可编辑的,并且编辑的单元格必须更改为某种背景颜色。
Hi all i hvae 2 queries with me.
1. i have a sdi windiows explrer type aplication with splitter window. the leftview is treeview and rightview is listview. Im opening a txt file in leftview and displaying it as treeview with tokenizer function. And wen i select the nodes in treeview with the help of OnSelchanged() function i can display some contents in the rightview i.e Listview side. Now my requirment is i have to pass the output string of the tokenizer from leftview to rightvie and dispaly in the list view. I dont know how to do that can u please help me in this??
2. In the rightview side i.e in the Listview side when i double click ona single cell it must be editable and the edited cell must be changed to some background colour.
这篇关于SDI应用程序中的Leftvie和Rightview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!