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
430
Mouse over the ribbon cause an error
posted

Hello, 

I created a toolbar manager and put dynamically groups and items on it. but when the mouse is over it it cause an error :

System.NullReferenceException:.
   ב-  Infragistics.Win.UltraWinToolbars.SharedProps.get_ShortcutString()
   ב-  Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.DisplayToolTip(ToolBase tool)
   ב-  Infragistics.Win.UltraWinToolbars.ToolBase.DisplayToolTip()
   ב-  Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.set_ImmediateToolTipDisplayMode(Boolean value)
   ב-  Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseHover()
   ב-  Infragistics.Win.ControlUIElementBase.NotifyMouseHover(UIElement element)
   ב-  Infragistics.Win.ControlUIElementBase.ProcessMouseHover(Object sender, EventArgs e)
   ב-  Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   ב-  Infragistics.Win.UltraControlBase.OnMouseHover(EventArgs e)
   ב-  System.Windows.Forms.Control.WmMouseHover(Message& m)
   ב-  System.Windows.Forms.Control.WndProc(Message& m)
   ב-  System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   ב-  System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   ב-  System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Thanks,

Yossy

Parents
  • 44743
    posted

    It looks like the SharedProps of the root tools are not getting hooked up to their owning tools correctly. What code do you use to dynamically create one of the tools added to the ribbon group?

Reply Children