BandObjectLib.BandObject.UIActivateIO C# (CSharp) 메소드

UIActivateIO() 공개 메소드

Called explorer when focus has to be chenged.
public UIActivateIO ( Int32 fActivate, MSG &Msg ) : void
fActivate System.Int32
Msg MSG
리턴 void
        public virtual void UIActivateIO(Int32 fActivate, ref MSG Msg)
        {
            if (fActivate != 0)
            {
                Control ctrl = GetNextControl(this, true);//first
                if (ModifierKeys == Keys.Shift)
                    ctrl = GetNextControl(ctrl, false);//last

                if (ctrl != null) ctrl.Select();
                this.Focus();
            }
        }