开发者

Double Click to open file directory from an item in listview

开发者 https://www.devze.com 2023-01-14 00:25 出处:网络
I hope that there is a very straightforward way to allow a user to do a Doubleclick event on either items inside a listview.

I hope that there is a very straightforward way to allow a user to do a Doubleclick event on either items inside a listview.

The items in my listview happens to have a filepath, so if possible, i want to draw out that filepath from the ite开发者_开发知识库m that i've selected and open up as a windows to show where the file is located. Something like that...is that complicated?


You can use the ItemActivate event on the ListView: MSDN

From there you can get the selected item and open an window.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号