Example #1
0
 protected override void DefWndProc(ref Message m)
 {
     if (m.Msg == 0x4a)
     {
         System.Type cls = new TaskBrowser.COPYDATASTRUCT().GetType();
         TaskBrowser.COPYDATASTRUCT lParam = (TaskBrowser.COPYDATASTRUCT)m.GetLParam(cls);
         this.ParseMessage((int)lParam.dwData, ref lParam.lpData);
     }
     else
     {
         base.DefWndProc(ref m);
     }
 }
Example #2
0
 protected override void DefWndProc(ref Message m)
 {
     if (m.Msg == 0x4a)
     {
         System.Type cls = new TaskBrowser.COPYDATASTRUCT().GetType();
         TaskBrowser.COPYDATASTRUCT lParam = (TaskBrowser.COPYDATASTRUCT) m.GetLParam(cls);
         this.ParseMessage((int) lParam.dwData, ref lParam.lpData);
     }
     else
     {
         base.DefWndProc(ref m);
     }
 }