Exemple #1
0
        public static unsafe void ProcessLostFocus(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new FocusPacket(ptr);

                window.OnLostFocus(ref packet);
            }
        }
Exemple #2
0
 protected internal virtual void OnLostFocus(ref FocusPacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }