SftTree/DLL 6.5

DragBitmaps

Softel vdm, Inc.

Defines the drag & drop starting location attribute.

C

BOOL WINAPI SftTree_GetDragBitmaps(HWND hwndCtl);
void WINAPI SftTree_SetDragBitmaps(HWND hwndCtl, BOOL fSet);
BOOL WINAPI SftTreeSplit_GetDragBitmaps(HWND hwndCtl);
void WINAPI SftTreeSplit_SetDragBitmaps(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftTree::GetDragBitmaps() const;
void CSftTree::SetDragBitmaps(BOOL fSet = TRUE);
BOOL CSftTreeSplit::GetDragBitmaps() const;
void CSftTreeSplit::SetDragBitmaps(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to enable a drag & drop operation to start from an item picture or label picture, otherwise set to FALSE.

Returns

GetDragBitmaps returns TRUE if a drag & drop operation can start from an item picture or label picture, otherwise FALSE is returned.

Comments

The GetDragBitmaps and SetDragBitmaps functions define the drag & drop starting location attribute.

A tree control must be defined using the SFTTREESTYLE_DRAGDROP window style to support drag & drop.

A drag & drop operation can always be started from an item's cells. By using SetDragBitmaps, a drag & drop operation can also be initiated from a picture.

The actual method used to determine when a drag & drop operation is initiated by a user is defined using SetDragType

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com