Commit Graph
2 Commits
Author SHA1 Message Date
Claude cc414fbcd9 Give windowless ActiveX controls drag and drop
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
2026-11-08 13:10:59 +00:00
Claude 9b10253de7 Windowless ActiveX controls
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
2026-11-07 18:10:09 +00:00