15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Droping on desktop

Jeff Lindholm -- JeffL@inter-intelli.com
Wednesday, November 20, 1996

Environment: VC++ 4.2-flat, Win 95, WinNT 4.0

Does anyone know of away to use OLE drag & drop to allow for a special
type to be dropped on the desktop and have a special callback used to
figure out what to do?
I want to drag one of my types and when dropped on the desktop it will
create a window with the data in it. If dropped on my window it will
just fill in with the correct data.

Thanks
Jeff



Grant Shirreffs Great Elk -- Grant.S@greatelk.com
Friday, November 22, 1996

You could try offering the data using
COleDataSource::DelayRenderData(CF_HDROP), and then when you get the
OnRenderGlobalData call, return FALSE and take the request as a cue to
open your window.

>----------
>From: 	Lindholm, Jeff
>Sent: 	Thursday, 21 November 1996 9:05 AM
>To: 	'mfc-l'
>Subject: 	Droping on desktop
>
>Environment: VC++ 4.2-flat, Win 95, WinNT 4.0
>
>Does anyone know of away to use OLE drag & drop to allow for a special
>type to be dropped on the desktop and have a special callback used to
>figure out what to do?
>I want to drag one of my types and when dropped on the desktop it will
>create a window with the data in it. If dropped on my window it will
>just fill in with the correct data.
>
>Thanks
>Jeff
>




| Вернуться в корень Архива |