System.Windows.Forms.MdiClient.AfterTopMostControl C# (CSharp) Method

AfterTopMostControl() private method

private AfterTopMostControl ( ) : IntPtr
return IntPtr
		internal override IntPtr AfterTopMostControl ()
		{
			// order of scrollbars:
			// top = vertical
			//       sizegrid
			// bottom = horizontal
			if (hbar != null && hbar.Visible)
				return hbar.Handle;
			// no need to check for sizegrip since it will only
			// be visible if hbar is visible.
			if (vbar != null && vbar.Visible)
				return vbar.Handle;
				
			return base.AfterTopMostControl ();
		}