开发者

Add the file name of a file on windows explorer to a windows form list box on del key press

I wonder if it is possible to add the file name of a file from windows explorer or desktop to a windows form list box in the following cases.

  1. On selecting a file and clicking on 'Del'/'Shift'+'Del' button开发者_开发百科 from keyboard.
  2. Right click on the file and select 'Delete' from context menu.

How the event will know which is the active application to add the file name to?

I need this for a project.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜