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

Drag and Drop Problem

 Post Reply Post Reply
Author
Message
AliRafiee View Drop Down
Groupie
Groupie


Joined: 06 May 2004
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote AliRafiee Quote  Post ReplyReply Direct Link To This Post Topic: Drag and Drop Problem
    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

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.047 seconds.