Share via


OverlappedPresenter.CreateForToolWindow Method

Definition

Creates an OverlappedPresenter object pre-populated with the values for a tool window.

public:
 static OverlappedPresenter ^ CreateForToolWindow();
 static OverlappedPresenter CreateForToolWindow();
public static OverlappedPresenter CreateForToolWindow();
function createForToolWindow()
Public Shared Function CreateForToolWindow () As OverlappedPresenter

Returns

An OverlappedPresenter object pre-populated with the values for a tool window.

Remarks

A tool window is intended to be used as a floating toolbar. It does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB.

This table shows how configuration properties are set when you create an OverlappedPresenter object from the CreateForToolWindow method.

Configuration property Value
HasBorder true
HasTitleBar true
IsAlwaysOnTop false
IsMaximizable true
IsMinimizable true
IsModal false
IsResizable true

Ownership

If you want to set an owner for a Dialog, you have to do so at the time of creating your AppWindow.

Applies to