| 177 | } |
| 178 | |
| 179 | STDMETHODIMP 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 | |
| 188 | STDMETHODIMP CDropSource::GiveFeedback(DWORD /*dwEffect*/) { |
| 189 | return ResultFromScode(DRAGDROP_S_USEDEFAULTCURSORS); |
nothing calls this directly
no outgoing calls
no test coverage detected