C# WinForms: Trouble getting tooltip near mouse coordinate
Posted on 2012-08-15
I have a DataGridView and need to show a tool tip at the cursor displaying the full contents of the entire row. But this call seems to fail:
this.addSpecialtyToolTip.Show("Test tip", myDataGridView, 0, 0);
However, this one works:
this.addSpecialtyToolTip.Show("Test tip", myOkButton, 0, 0);
But I do not want the tool tip over the OK button.
I did not the DataGridView has a bool property "ShowCellToolTips", but when I call
myDataGridView.ShowCellToolTips = true, nothing displays.
Any ideas what I am missing?