COleDropTarget sends a drag over a windowless control to the drop target
the control gives (IOleInPlaceObjectWindowless::GetDropTarget, which
COleControl answers with GetWindowlessDropTarget): DragEnter as the
drag comes over it, DragLeave as it goes back to the window, and the
drop. When the container's window is no drop target, the container
registers one for it as such a control is activated. wltest drags over
its windowless control and drops on it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
The container side implements IOleInPlaceSiteEx and
IOleInPlaceSiteWindowless: windowless controls are drawn through
IViewObject in the container's WM_PAINT and get mouse (with capture),
keyboard and focus messages from the container's window procedure.
COleControl activates windowless when GetControlFlags has
windowlessActivate and the site agrees, implements
IOleInPlaceObjectWindowless, and gives the windowless forms of
SetCapture, SetFocus, GetDC, InvalidateControl and DefWindowProc.
Adds wltest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs