System.Windows.Forms.XplatUIX11.SystrayChange C# (CSharp) Method

SystrayChange() private method

private SystrayChange ( IntPtr handle, string tip, Icon icon, ToolTip &tt ) : bool
handle IntPtr
tip string
icon Icon
tt ToolTip
return bool
		internal override bool SystrayChange(IntPtr handle, string tip, Icon icon, ref ToolTip tt) {
			Control	control;

			control = Control.FromHandle(handle);
			if (control != null && tt != null) {
				tt.SetToolTip(control, tip);
				tt.Active = true;
				SendMessage(handle, Msg.WM_PAINT, IntPtr.Zero, IntPtr.Zero);
				return true;
			} else {
				return false;
			}
		}
XplatUIX11