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
Hi Michael, I have integrated the change and it works in the application well. Thank you very much. Regards Jan
Jan,
OK, let me know how it goes.
Hi Michael,
I quickly tried your sample and it looks working.
I will let you know after I integrate it into the full app.
Thank you very much for your sample.
Regards
Did that work for you?
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.