Hello,
I searched a lot but I didn't find the method called by the wxAuiManager after a pane has been moved, I mean when we release the mouse button. I thought it would be in OnLeftUp but nothing works. It seems that is depends of the kind of the pane moved and where the mouse cursor is.
I tried OnFloatingPaneMoved but it seems I don't succeed to call it.
Can you tell me which is the specific(s) method(s) called at the end of a drag motion when we dock a pane or not?
best regards
Kirix Support Forums
wxAuiManager : On end drag?
3 posts
• Page 1 of 1
- mikael.delsol
- Registered User
- Posts: 13
- Joined: Fri Mar 02, 2007 11:22 am
- Location: Montpellier, France
Hello,
Try overriding ProcessDockResult() and see if this gives you the hook that you want. Make sure to process the base class if you choose no custom behavior.
Best,
Ben
Try overriding ProcessDockResult() and see if this gives you the hook that you want. Make sure to process the base class if you choose no custom behavior.
Best,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
Hello,
Thanks for your help.
Actually, I try to control the behaviour of the floatingframe created after a drag by overriding this class. Firstly, I'm not sure of where the floatingframe is created after a drag in wxAuiManager.
Moreover, wxFloatingFrame is used only two times at wxAuiManager methods but I can't override these methods.
As many, I try to create the possibility to drag a floatingframe into a wxAuiNotebook. I suppose that it's DoDrop which is the main method for this effect and also ProcessDockResult after all.
Best regards
Thanks for your help.
Actually, I try to control the behaviour of the floatingframe created after a drag by overriding this class. Firstly, I'm not sure of where the floatingframe is created after a drag in wxAuiManager.
Moreover, wxFloatingFrame is used only two times at wxAuiManager methods but I can't override these methods.
As many, I try to create the possibility to drag a floatingframe into a wxAuiNotebook. I suppose that it's DoDrop which is the main method for this effect and also ProcessDockResult after all.
Best regards
- mikael.delsol
- Registered User
- Posts: 13
- Joined: Fri Mar 02, 2007 11:22 am
- Location: Montpellier, France
3 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback