MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / DragOver

Method DragOver

Source/Engine/Platform/Windows/WindowsWindow.DragDrop.cpp:629–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629HRESULT Window::DragOver(Windows::DWORD grfKeyState, Windows::POINTL pt, Windows::DWORD* pdwEffect)
630{
631 POINT p = { pt.x, pt.y };
632 ::ScreenToClient((HWND)_handle, &p);
633 DragDropEffect effect = DragDropEffect::None;
634 OnDragOver(&GuiDragDropData, Float2(static_cast<float>(p.x), static_cast<float>(p.y)), effect);
635 *pdwEffect = dropEffect2OleEnum(effect);
636 return S_OK;
637}
638
639HRESULT Window::DragLeave()
640{

Callers

nothing calls this directly

Calls 3

ScreenToClientFunction · 0.85
Float2Class · 0.85
dropEffect2OleEnumFunction · 0.85

Tested by

no test coverage detected