MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / QueryContinueDrag

Method QueryContinueDrag

src/DragDropSupport.cpp:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179STDMETHODIMP CDropSource::QueryContinueDrag(BOOL fEscapePressed, DWORD grfKeyState) {
180 if (fEscapePressed)
181 return ResultFromScode(DRAGDROP_S_CANCEL);
182 else if (!(grfKeyState & MK_LBUTTON))
183 return ResultFromScode(DRAGDROP_S_DROP);
184 else
185 return NOERROR;
186}
187
188STDMETHODIMP CDropSource::GiveFeedback(DWORD /*dwEffect*/) {
189 return ResultFromScode(DRAGDROP_S_USEDEFAULTCURSORS);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected