![]() |
Drag and Drop Problem |
Post Reply ![]() |
Author | |
AliRafiee ![]() Groupie ![]() Joined: 06 May 2004 Status: Offline Points: 32 |
![]() ![]() ![]() ![]() ![]() Posted: 28 November 2005 at 3:29pm |
Hi Everyone, I have an MDI application. The child frame has three parts: upper left corner has a docking panel with a listbox. Lower left has a docking pannel with a CXTTabCtrl that shows CXTPropertyGrid as children, and the right side has a CXTTabView that has children of type CFormView that has alot of Edit controls on it. Drop from one Listbox to another listbox and that works fine (with a CDropTarget registered to the ListBox). Then I needed to activate the MDI view that was being dragged to even when the Listbox part of the view was covered by another view. So what I did was attached another another CDropTarget to the ChildFrame, and called BringWindowToTop in the OnDragOver handler. This only works if I drag over the CFormView and the listbox, but it does not work when I drag over the Docking pannel with the property window. Any Idea how to get around this problem? Thank Ali |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |