?
Moin,
ich hab ein Drag Icon. Aber leider ist der Transperentehintergrund nicht mehr transperent. Was hab ich da falsch gemacht?
CImageList *m_pDragImage;
m_pDragImage = new CImageList();
ASSERT(m_pDragImage); //make sure it was created
m_pDragImage->Create(16, 16, ILC_COLOR4, 0, 1);
m_pDragImage->Add(AfxGetApp()->LoadIcon(IDI_CUP));
m_pDragImage->BeginDrag(0, CPoint(nOffset, nOffset));
m_pDragImage->DragEnter(GetDesktopWindow(), pNMListView->ptAction);