TreeView_CreateDragImage
-
I am implementing a Drag and Drop operation on a TreeView. I've supplied a bitmap to my tree and it draws wonderfully. Now, when the user begins dragging - I call TreeView_CreateDragImage ... and for the most part, it works except that the dragging image (a folder) overlaps the textual part of the drag so that when you are draggin and move the mouse around, you can't see the first few characters of the TreeView node's text in the dragging image. I can't see how to affect this. Are my bitmaps too large? I initially supplied a bitmap strip 128x16 and told the TreeView the images were 16x16. I've move the hotspot around in TreeView_BeginDrag ... For the most part, CreateDragImage is a black box - it just creates the draggable image. I've no idea how to affect the placement of the text relative to the image. Any suggestions would be appreciated. Thanks in advance, -Luther