


















ListView 上,當選擇一個或移動鼠標到一個item上的時候,顯示Tooltip會一閃沒有了,有時都沒有反應。
解決方法:
private void treeListView1_ItemMouseHover_1(object sender, ListViewItemMouseHoverEventArgs e)
{
toolTip1.ShowAlways = false;
toolTip1.Active = false;
this.toolTip1.SetToolTip(this.treeListView1, SubStrings(e.Item.SubItems[2].Text));
toolTip1.AutoPopDelay = 10000000;
toolTip1.ShowAlways = true;
toolTip1.Active = true;
}
這個應該是.net 的關系,困擾了我好久。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。