开发者

Problem with Drag Drop in VC++

开发者 https://www.devze.com 2023-01-13 06:35 出处:网络
I am working for the first time on Drag-Drop in MFC and I am stuck very badly.. I see some format being used for intra-list drag-drop and its value is 49391 always. I have no idea where this number is

I am working for the first time on Drag-Drop in MFC and I am stuck very badly.. I see some format being used for intra-list drag-drop and its value is 49391 always. I have no idea where this number is coming from. I have registered only two formats viz CF_HDROP and another private format [ who value does not match with this ].. can someone please help with this ?

And strange enough, when I checked on msdn, it doesn't give any format value this high: http://msdn.microsoft.com/en-us/library/ff729168%28VS.85%29.aspx .. I am getting this value consistently; inspite of re-builds; restarts etc.. So, I am guessing it must be some kind of standard format.. Any kind of assis开发者_运维问答tance would be greatly helpful.


MFC generally uses OLE with Drag and Drop under the covers to do it's work, not the clipboard.

MFC Example.

BUT:

Uniform Data Transfer One section covers using the clipboard amoung other things.

Enabling Drag and Drop without OLE

Enjoy.

0

精彩评论

暂无评论...
验证码 换一张
取 消