BandObjectLib.BandObject.TranslateAcceleratorIO C# (CSharp) Method

TranslateAcceleratorIO() public method

Called by explorer to process keyboard events. Undersatands Tab and F6.
public TranslateAcceleratorIO ( MSG &msg ) : Int32
msg MSG
return System.Int32
        public virtual Int32 TranslateAcceleratorIO(ref MSG msg)
        {
            if (msg.message == 0x100)//WM_KEYDOWN
                if (msg.wParam == (uint)Keys.Tab || msg.wParam == (uint)Keys.F6)//keys used by explorer to navigate from control to control
                    if (SelectNextControl(
                            ActiveControl,
                            ModifierKeys == Keys.Shift ? false : true,
                            true,
                            true,
                            false)
                        )
                        return 0;//S_OK

            return 1;//S_FALSE
        }