I have a panel on an MDI form. I want it to behave the same as thepanelsin Visual Studio (ie Solution explorer).
The panel expands correctyandI can pin it.
If I move the mouse into the Toolbar (ie off the panel) it collapses as expected if it is not pinned.
However, when move the mouse off the expanded, unpinned panel onto the MDI canvas, the panel does not collapse. It appears that events on the canvas are not hooked up. How can I achieve this? I would have thought that a MouseEnter event would fire when moving the mouse onto the canvas?