Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Multiselect and drag-and-drop
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiselect and drag-and-drop

 Post Reply Post Reply
Author
Message
Serge View Drop Down
Newbie
Newbie


Joined: 31 March 2004
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Serge Quote  Post ReplyReply Direct Link To This Post Topic: Multiselect and drag-and-drop
    Posted: 31 March 2004 at 7:08am

Hello All

I have the problem in CXTTreeCtrl. I want to implement the drag-and-drop for multiply selected items. The drag-and-drop for single item works fine, but when I call CXTTreeCtrl::EnableMultiSelect function, I begin receive OnBeginDrag notification even when I simple click on some item and then release the mouse button.

In order to demonstrate this behaviour I wrote the little application, attached to this question. Decommenting the "m_Tree.EnableMultiSelection()" line in CDemoDlg::OnInitDialog function starts all the problems.

I order to solve this problem I wrote my own handler for OnLButtonDown message, (so drag-and-drop of multiply items is working), but, as result, I don't receive OnLButtonUp message after simple click. This causes me additional problems.

I use XTreemTookit 1.9.2.2.

All ideas will be accepted with great thanks

Best regards

Serge2004-03-31_070728_CTreeCtrl_with_Drag-and-Drop.zip

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.