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
195
Starting drag&drop operation onUltraToolbarManager
posted

Hello,

I am trying to drag a tool from a toolbar in a UltraToolbarManager and drop its key on another control (Calendar) to create an activity according the tools key (the tools in the toolbar are activity types).

I hook MouseElementEnter and MouseElementLeave event and invoke DoDragDrop from MouseElementEnter handler.

I tried to hook control's OnMouseDown but it gets never fired from the toolbarmanager, so these two events are the only that works.

However, I observe strange behavior:

1) When the mouse is on the toolbar, the cursor blinks which is annonying.

2) And in addition, the toolbar does not show tooltips which is important for the user because the tool button show only image to save space.

Can you help me?

I am using Infragistics2.v8.3.

Regards,

Jan

WindowsFormsApplication1.zip
Parents
No Data
Reply
  • 9298
    posted

    Jan,

    I think that you should call your DoDragDrop method in the Toolbars_Dock_Area_Top_MouseMove event.  I have attached a modified version of your sample to this forum thread which I believe will eliminate the strange behavior you have observed.  Look it over and let me know if this works for you.

    WindowsFormsApplication2.zip
Children