2
我有一個小控制檯程序,我想它有這樣的行爲:有什麼辦法將字符串拖到控制檯應用程序上?
*I drag a (URL) string to the console application *The console application gets the string that was dropped in, and then calls a function with that string.
不過,我似乎無法找到一個方法來做到這一點。根據MSDN的說法,控制檯類中沒有允許我這樣做的事件。誰能幫我?
注意:這是應用程序打開的時候。
對此有幫助嗎? http://channel9.msdn.com/Forums/TechOff/155894-Drag--Drop-with-console-app-C –
@omerschleifer對不起,我的意思是,它是開放的。 –
可能重複:[如何獲取項目的文件路徑放到控制檯應用程序窗口?](http://stackoverflow.com/questions/12662778/how-do-i-get-file-paths-of-items-放在控制檯上的應用程序窗口) –