From: Raghav on 26 Oct 2006 07:09 Hello everybody, I am trying to show a custom cursor during a drag operation. For this i derived a class from the COleDropSource and overridden the GiveFeedback() method in the following way, SCODE SwpTBDropSource::GiveFeedback(DROPEFFECT dropEffect) { if(dropEffect & DROPEFFECT_COPY) { SetCursor(m_hIcon); // m_hIcon and m_hNAIcon are both valid. return S_OK; } else SetCursor(m_hNAIcon); return S_OK; } and i passed the object of this to DoDragDrop function. The effect is that, when i drag the object over some menu bar or some windows which dont accept any drop, the cursor changes to default DROPEFFECT_NONE cursor. Can anyone explain why this happens? and also how to solve this problem? rgds Raghav.
|
Pages: 1 Prev: Project : error PRJ0050: Failed to register output. Next: CDHTMLDialog & IE7 |