IUIService.GetDialogOwnerWindow Method

Definition

Gets the window that should be used as the owner when showing dialog boxes.

C#
public System.Windows.Forms.IWin32Window GetDialogOwnerWindow();

Returns

An IWin32Window that indicates the window to own any child dialog boxes.

Remarks

Some dialog boxes are parented to an owner application and are not visible in the task list. This method returns an IWin32Window that indicates the window that should be the owner for dialog boxes of this sort that are spawned from an integrated development environment.

Applies to

Ürün Sürümler
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10