Print Page | Close Window

Drag and Drop Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3298
Printed Date: 18 December 2025 at 10:10am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drag and Drop Problem
Posted By: AliRafiee
Subject: Drag and Drop Problem
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net