I have created a CTreeCtrl. By using specifying the style TVS_DISABLEDRAGDROP for the CTreeCtrl, I have managed to disable the drag and drop operation of the CTreeCtrl.

However the problem is that even though the user is unable to click and drag an item when he left clicked on the item, he is still able to right click on an item (of the CTreeCtrl) and drag the item to another location.

Is there any way to totally disable the drag and drop function of the CTreeCtrl??