Exemplo n.º 1
0
 /// <summary>
 /// Create a native tool tip control for this listview
 /// </summary>
 protected virtual void CreateToolTip()
 {
     ToolTip = new ToolTipControl();
     ToolTip.Create(Handle);
     ToolTip.AddTool(this);
     ToolTip.Showing += ListView.headerToolTip_Showing;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a ToolTipControl to manage the tooltip control used by the listview control
 /// </summary>
 protected virtual void CreateCellToolTip()
 {
     this.cellToolTip = new ToolTipControl();
     this.cellToolTip.AssignHandle(NativeMethods.GetTooltipControl(this));
     this.cellToolTip.Showing += new EventHandler<ToolTipShowingEventArgs>(HandleCellToolTipShowing);
     this.cellToolTip.SetMaxWidth();
     NativeMethods.MakeTopMost(this.cellToolTip);
 }
Exemplo n.º 3
0
 static public IntPtr SetTooltipControl(ListView lv, ToolTipControl tooltip) {
     return SendMessage(lv.Handle, LVM_SETTOOLTIPS, 0, tooltip.Handle);
 }
 public static IntPtr SetTooltipControl(ListView lv, ToolTipControl tooltip)
 {
     return(SendMessage(lv.Handle, LVM_SETTOOLTIPS, 0, tooltip.Handle));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Create a ToolTipControl to manage the tooltip control used by the listview control
 /// </summary>
 protected virtual void CreateCellToolTip()
 {
     cellToolTip = new ToolTipControl();
     cellToolTip.AssignHandle(NativeMethods.GetTooltipControl(this));
     cellToolTip.Showing += HandleCellToolTipShowing;
     cellToolTip.SetMaxWidth();
     NativeMethods.MakeTopMost(cellToolTip);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Create a native tool tip control for this listview
 /// </summary>
 protected virtual void CreateToolTip()
 {
     ToolTip = new ToolTipControl();
     ToolTip.Create(Handle);
     ToolTip.AddTool(this);
     ToolTip.Showing += ListView.headerToolTip_Showing;
 }
Exemplo n.º 7
0
 public static IntPtr SetTooltipControl(ListView lv, ToolTipControl tooltip)
 {
     return(SendMessage(lv.Handle, 0x104a, 0, tooltip.Handle));
 }