System.Windows.Forms.Form.WmSetFocus C# (CSharp) Method

WmSetFocus() private method

private WmSetFocus ( Message &m ) : void
m Message
return void
		private void WmSetFocus (ref Message m)
		{
			if (ActiveControl != null && ActiveControl != this) {
				ActiveControl.Focus ();
				return;	// FIXME - do we need to run base.WndProc, even though we just changed focus?
			}
			if (IsMdiContainer) {
				mdi_container.SendFocusToActiveChild ();
				return;
			}
			base.WndProc (ref m);
		}
		
Form