System.Windows.Forms.XplatUICarbon.SetModal C# (CSharp) Method

SetModal() private method

private SetModal ( IntPtr handle, bool Modal ) : void
handle System.IntPtr
Modal bool
return void
		internal override void SetModal(IntPtr handle, bool Modal) {
			IntPtr hWnd = HIViewGetWindow (Hwnd.ObjectFromHandle (handle).WholeWindow);
			if (Modal)
				BeginAppModalStateForWindow (hWnd);
			else
				EndAppModalStateForWindow (hWnd);
			return;
		}
XplatUICarbon