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

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