English 中文(简体)
在申请终止时,将《刑法》列入《刑法》。
原标题:Leaving CFSTR_FILECONTENTS/CFSTR_FILEDESCRIPTOR entry in Clipboard when App terminates
  • 时间:2012-04-23 20:27:31
  •  标签:
  • mfc
  • ole

我先使用这些单板格式,以便把数据直接作为我的视窗探测器的档案。

我的实施工作利用了中西太平洋渔委会集团的COle 数据来源,但该数据仅围绕IDataObject和APIC,如OleSetC排页。

当我的手表终止了我在当地执行IDataObject(即来自COleDataSource的一个班子)时,我就不得不放弃“COleDataSource:FlushC的挂牌”。 这应当把所有现有数据的副本放到单板上(即使是延迟提供的内容),以便在数据被关闭后提供。

这种工作形式很简单,如CF_TEXT,但CFSTR_FILECONTENTS格式不再可行。 视窗探索者提供了一个陈词器项目,但当我试图用一种标准的电传来时,就没有发生。

能否做到这一点,或者是否根据最初的IDataObject执行仍在进行的积极性,CFSTR_FILECONTENTS?

问题回答

复杂数据在你提出要求时加以复制。 如果你的消息来源已经死亡,那么你的数据就会消失。





相关问题
Problem statically linking MFC libraries

I have a Visual Studio 6 workspace I m trying to convert to a Visual Studio 2008 solution. The output of said solution is a .dll. It has to be a .dll and it needs to statically link MFC as I can t ...

Switching to WPF. Is it time?

I m considering switching from MFC to WPF. My first concern is that there are too many users who don t have .NET with WPF installed yet. Can anybody point to a source containing the WPF penetration ...

Crash within CString

I am observing a crash within my application and the call stack shows below mfc42u!CString::AllocBeforeWrite+5 mfc42u!CString::operator=+22 No idea why this occuring. This does not occur ...

C# for UI, c++ for library

I have a numerical library coded in C++. I am going to make a UI for the library. I know some MFC. So one solution is to use MFC and make a native application. The alternative is C#. I know nothing ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by ...

MFC List Control

In MFC, I can edit the text of items in the list control but only for the first column by setting the Edit Labels to true. Now when I click the first column item to change its text, I m able to change ...

热门标签