Bugs item #1811335, was opened at 2007-10-11 00:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1811335&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: treelistctrl
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Otto Wyss (wyo)
Summary: Drag from treelistctrl to another works improperly

Initial Comment:
Develop an application with MDIParentFrame.

Add two child windows with treeListCtrl embedded in each of them. Consider, for 
instance, child windows names are 1 and 2 respectively.

Add root to each of them and add two items namely, A and B to window 1 and X 
and Y to window 2.

now implement a drag function so as to add the item to the window when dragged 
from one window to another.

Now, drag A from window 1 and release mouse in window 2. A will added to the 
treelistctrl in window 2.

Problem : 
Drag item A from window 1 and hover it, either over item B in the same window 
or on item X or item Y on the window 2.

When you release the mouse on window 2, the item on which you hovered last, 
will be added to the window. in this case, for instance, if you have hovered 
over item Y, item  Y would be added to the treelistctrl in window 2, whereas, 
the item you dragged is A.

This happens because EVT_BEGIN_DRAG is being triggered, whenever you drag some 
item and hover over another item and as result, the particular item on which 
you hover, is added.

This is really one big issue. And i request you kindly, a quick work around on 
this problem as soon as possible.

P.S: i have attached a sample application

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1811335&group_id=51305

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to