Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Call this function to move the image that is being dragged during a drag-and-drop operation.
static BOOL PASCAL DragMove(
CPoint pt
);
Parameters
- pt
New drag position.
Return Value
Nonzero if successful; otherwise 0.
Remarks
This function is typically called in response to a WM_MOUSEMOVE message. To begin a drag operation, use the BeginDrag member function.
Example
void CImageListDlg::OnMouseMove(UINT nFlags, CPoint point)
{
m_myImageList.DragMove(point);
CDialog::OnMouseMove(nFlags, point);
}
Requirements
Header: afxcmn.h