Editar

Partilhar via


IUIService.GetDialogOwnerWindow Method

Definition

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

public:
 System::Windows::Forms::IWin32Window ^ GetDialogOwnerWindow();
public System.Windows.Forms.IWin32Window GetDialogOwnerWindow ();
abstract member GetDialogOwnerWindow : unit -> System.Windows.Forms.IWin32Window
Public Function GetDialogOwnerWindow () As IWin32Window

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