protected override void WndProc(ref Message m)
{
base.WndProc (ref m);
if(m.Msg == 0x84)
{
if ((IntPtr)2 == m.Result)
{
m.Result = (IntPtr)1;
}
}
}
//类似的
protected override void WndProc( ref Message m )
{
switch(m.Msg)
{
case 0x84:
{
...
}
}
本文地址:http://com.8s8s.com/it/it43485.htm