Beispiel #1
0
        void Add(WndClassKind wk, ushort msg32, ushort msg16, Base semantics)
        {
            /*
             * if (wk == WndClassKind.Standard && (msg32 >= Win32.WM_USER || msg16 >= Win32.WM_USER))
             * {
             *  System.Diagnostics.Debug.Assert(false);
             * }
             */

            _messageInfos.Add(new MessageInfo()
            {
                WndClassKind = wk,
                message32    = msg32,
                message16    = msg16,
                semantics    = semantics,
            });
        }
Beispiel #2
0
 void Add(WndClassKind wk, ushort message, Base semantics)
 {
     Add(wk, message, message, semantics);
 }