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