示例#1
0
            /// <summary>
            /// Pres the process wm key down_ tab.
            /// </summary>
            /// <param name="m">The m.</param>
            /// <returns></returns>
            protected virtual bool PreProcessWmKeyDown_Tab(ref Message m)
            {
                if (HexViewer._stringViewVisible && HexViewer.currentKeyInterpreter.GetType() == typeof(KeyInterpreter))
                {
                    HexViewer.ActivateStringKeyInterpreter();
                    HexViewer.ScrollByteIntoView();
                    HexViewer.ReleaseSelection();
                    HexViewer.UpdateCaret();
                    HexViewer.Invalidate();
                    return(true);
                }

                if (HexViewer.Parent == null)
                {
                    return(true);
                }
                HexViewer.Parent.SelectNextControl(HexViewer, true, true, true, true);
                return(true);
            }