As a first wxPython project I'm trying to create an app that has some windows. I managed to do drag-and-drop between the windows. Now I would like to raise the target window when the mouse enters it. Can anyone give me a clue on how to do this while drag-and-drop is still going on?
As a first wxPython project I'm trying to create an app that has some windows. I managed to do drag-and-drop between the windows. Now I would like to raise the target window when the mouse enters it. Can anyone give me a clue on how to do this while drag-and-drop is still going on?
You can override GiveFeedback in your wxDropSource class and check the mouse position and raise your windows if it is over one of them. Or your wxDropTarget in the destination windows could do it in an OnEnter method. Finally, if you are on Windows then letting the mouse hover over the window's taskbar icon will cause it to be raised.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!