CarotDav_decompile/CarotDAV/NoEatToolStrip.cs

38 lines
925 B
C#

// Decompiled with JetBrains decompiler
// Type: CarotDAV.NoEatToolStrip
// Assembly: CarotDAV, Version=1.13.2.18337, Culture=neutral, PublicKeyToken=null
// MVID: C31F2651-A4A8-4D09-916A-8C6106F5E7C8
// Assembly location: F:\Eigene Dateien\Dropbox\portable Collection\Progs\CarotDAV\CarotDAV.exe
using System;
using System.Windows.Forms;
namespace CarotDAV
{
public class NoEatToolStrip : ToolStrip
{
private const int WM_MOUSEACTIVATE = 33;
private const int MA_ACTIVATE = 1;
private const int MA_ACTIVATEANDEAT = 2;
private const int MA_NOACTIVATE = 3;
private const int MA_NOACTIVATEANDEAT = 4;
public NoEatToolStrip()
{
}
public NoEatToolStrip(params ToolStripItem[] items)
: base(items)
{
}
protected override void WndProc(ref Message m)
{
if (m.Msg == 33)
m.Result = new IntPtr(1);
else
base.WndProc(ref m);
}
}
}