|
-
April 21st, 1999, 02:34 PM
#1
Drag N Drop in TreeCtrl w/o TVSIL_NORMAL
I have a tree control in a dialog box that has a TVSIL_STATE image list associated with it, but no TVSIL_NORMAL image list. I want to support drag and drop operations within the tree, but
CreateDragImage() returns NULL if the tree has no normal image list. I tried adding a list of
1x1 bitmaps as TVSIL_NORMAL (I don't have the space in the control to add more images), but
CreateDragImage() still returned NULL, and adding the list removed the nice TVS_HASLINES |
TVS_HASBUTTONS glyphs I'm not terribly familiar with the specifics underlying drag and drop, so:
Question: Without derving a class, or adding more images, can I support drag and drop? If so, how?
-asf
-- Further Innovations, Inc. Development Team - http://www.furtherinnovations.com/dev
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|