-
Notifications
You must be signed in to change notification settings - Fork 29
Description
I am attempting to use this control through the Common Language Runtime via AutoHotkey. I am able to set values and create a GUI with the control in it. I am to the point of attempting to handle events now. I began with the ToolTips. Simply enabling them via table.EnableToolTips = True did not produce the default tooltip if the cell isn't showing all of the text. I am using some code created by the current developer of AutoHotkey to try and handle the event but am having difficulties. Here is the code -> https://autohotkey.com/boards/viewtopic.php?f=6&t=4633#p26497.
I am getting an error when my mouse hovers over a cell that shows the following,
************** Exception Text ************** System.InvalidOperationException: This type has a ComVisible(false) parent in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed. at System.StubHelpers.MngdSafeArrayMarshaler.ConvertContentsToNative(IntPtr pMarshalState, Object& pManagedHome, IntPtr pNativeHome, Object pOriginalManaged) at XPTable.Models.Table.OnCellToolTipPopup(CellToolTipEventArgs e) at XPTable.Renderers.CellRenderer.OnMouseEnter(CellMouseEventArgs e) at XPTable.Models.Table.OnCellMouseEnter(CellMouseEventArgs e) at XPTable.Models.Table.RaiseCellMouseEnter(CellPos cellPos) at XPTable.Models.Table.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I'm having trouble determining what may be the problem and am curious if this assembly is not ComVisible. From my research, I believe that all assemblies are visible unless ComVisible is set to false. Hoping you can provide some insight. Thanks