不知道迅雷中的那个广告是怎么做的,flash还可以用左键来操作

解决方案 »

  1.   

    问题解决了
    不是给WINFORM一个消息,而是给FLASH控件一个消息,
    MSG = 516
    只要在消息处理写上
    if(msg == 516 ) return (IntPtr) 0;
    就可以了,呵呵,其它类似的消息和控件都可以这样写
      

  2.   

    你也可以在Application上考虑一下,比如:
    class MesFilter : IMessageFilter
    {
    public bool PreFilterMessage(ref Message m)
    {
    Console.WriteLine(m);
    if (m.Msg == 0x204|| m.Msg==0x205)
    {
    return true;
    }
    return false;
    }
    }
    static class Program
    {
    /// <summary>
    /// 应用程序的主入口点。
    /// </summary>
    [STAThread]
    static void Main()
    {
    MesFilter mf = new MesFilter();
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.AddMessageFilter(mf);
    Application.Run(new Form1());
    Application.RemoveMessageFilter(mf);
    }
    }
      

  3.   

    想屏蔽Flash右键, 是要在Flash里写AS的...
      

  4.   

    关于完美屏蔽FLASH右键
    看这个连接
    http://www.luoge.net/index.php/archives/16