1

I'm using WeifenLuo Dockpanel Suite in winforms.
i have 2 forms (Main & child form), Main form has dockpanel & child form will be docked in this dockpanel.
in child form, none of the events are firing except DockChanged & DockStateChanged

private: Void CamWindow_ResizeBegin(System::Object^  sender, System::EventArgs^  e) {
  Console::WriteLine("Resize begin"); //doesn't work, tried many other mouse events as well
}   

private: Void CamWindow_DockStateChanged(System::Object^  sender, System::EventArgs^  e) {
  Console::WriteLine("Dock state Changed");  //works   
}

i don't think this is bug, how to make these events fire?

Prakash M
  • 659
  • 1
  • 12
  • 36

1 Answers1

0

Probably a bug, you can find more information on Dock panel dockchanged event don't trigger

Santosh Dhanawade
  • 1,756
  • 14
  • 29
  • in the link Stan said "_you can manage this process by handling the DockManager's EndDocking event_" can you elaborate this a bit? Thanks – Prakash M Dec 23 '16 at 10:57
  • @PrakashM you may find more information in https://www.devexpress.com/Support/Center/Question/Details/Q367571 link. I will elaborate more if required. – Santosh Dhanawade Dec 26 '16 at 07:21
  • 2
    Interesting that you linked a DevExpress component while the question is about an open sourced project. – Lex Li Dec 27 '16 at 07:54