Home > Net > For help: WPF drag and drop files after release file is how to determine whether the software for th
For help: WPF drag and drop files after release file is how to determine whether the software for th
Time:09-28
I want to be in WPF implement drag and drop a file from a form, when drag and release for me whether I released the target object file specified software, if it is will open the file, if not specified in the software will do nothing, (for example: I drag and drop from the WPF form a 123. TXT file, release the mouse to determine whether the target software to notepad, if the notepad is directly open 123. TXT the file, if not, then don't do any operation), looking for some information, it is said that want to use the mouse hook, consult everybody a great god how to implement?
CodePudding user response:
I think, drag a file to a software icon automatically using the software to open, should be the function that the software should be implemented according to, rather than by the third party to achieve, you If a software provided no open the file command?
CodePudding user response:
With what TXT can only use notepad to open? Ie can't open? The tablet can't open?