The TVM_CREATEDRAGIMAGE message creates a dragging bitmap for the specified item in a tree-view control, creates an image list for the bitmap, and adds the bitmap to the image list. An application can display the image when dragging the item by using the image-list functions. You can send this message explicitly or by using the TreeView_CreateDragImage macro.
TVM_CREATEDRAGIMAGE wParam = 0; lParam = (LPARAM) (HTREEITEM) hitem;
Returns the handle of the image list to which the dragging bitmap was added if successful or NULL otherwise.
If you create a tree-view control without an associated image list, you cannot use the TVM_CREATEDRAGIMAGE message to create the image to display during a drag operation. You must implement your own way to support drag and drop cursor.
file: /Techref/os/win/api/win32/mess/src/msg20_13.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/6 15:35,
3.138.137.199:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/mess/src/msg20_13.htm"> TVM_CREATEDRAGIMAGE</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.