Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Standard toolbar as Titlebar
posted

Hi,

 I'm trying to use the UltraToolbarsManager to create my own titlebar on a Form with FormBorderStyle = None.

And I need to implement form move functionality.

 How can I catch MouseDown/Up/Move events on the standard toolbar I've added to the form when the user is clicking on the toolbar (Not on a Tool on it)

The toolbar is Docked top and ultraToolbarsManager.LockToolbars = True.

Best Regards,

Atle

 

To answer my own question. Once the toolbar is visible I could access the mouse events like this:

ultraToolbarsManager1.Toolbars[0].UIElement.Control.MouseDown...