Answer the question
In order to leave comments, you need to log in
Has anyone figured out IDragSourceHelper?
Usage examples are missing as usual. Actually, the problem is not how to call IDragSourceHelper::InitializeFromBitmap, and not how to call IDropTargetHelper::DragOver, but the fact that Windows draws the specified bitmap when dragging from Far Manager panels to other applications (aka Explorer).
When dragging from Explorer to ConEmu - everything is OK, the picture is displayed as it should. But when the drag source is ConEmu ...
In general, so far I found out that it somehow depends on the formats “UsingDefaultDragImage” (TRUE causes the drawing of a “standard” for Win7 translucent square with the number of dragged elements, but without icons), “DragSourceHelperFlags” ( it is not clear what the flags are) and "IsComputingImage", "IsShowingText", "DisableDragText".
Without much hope that someone is in the know, but what if?
Upd
In general, everything turned out to be simple. IDragSourceHelper::InitializeFromBitmap requires only "CompatibleBitmap", and the one created via CreateDIBSection ignores it, cynically returning S_OK.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question