private void OnSend(Ddeml.MONMSGSTRUCT mon)
        {
            var m = new Message {HWnd = mon.hwndTo, Msg = mon.wMsg, LParam = mon.lParam, WParam = mon.wParam};

            var args = new DdemlMessageActivityEventArgs(DdemlMessageActivityKind.Send, m, mon.hTask);

            MessageActivity?.Invoke(this, args);
        }
Exemple #2
0
        private void OnSend(Ddeml.MONMSGSTRUCT mon)
        {
            var m = new Message();
            m.HWnd = mon.hwndTo;
            m.Msg = mon.wMsg;
            m.LParam = mon.lParam;
            m.WParam = mon.wParam;

            var args = new DdemlMessageActivityEventArgs(DdemlMessageActivityKind.Send, m, mon.hTask);

            if (MessageActivity != null)
                MessageActivity(this, args);
        }