This C++ code shows how OLE can be used to simulate a file drag and drop to simulate a 'Send to...' operation。這將打開帶有選定文件的標準郵件客戶端作爲附件,這是一個非常有趣的mailto:協議處理程序的替代方案。 哪個是最好的(短而安全)的方式來在Delphi中創建IDataObject的
我想檢查剪貼板是否包含圖像或圖像格式的文件。我想這樣做是這樣的: private void myMethod()
{
//Check if the clipboard contains an image or a file, that is in image format.
if (IsClipboardImage())
{
//Do i