Show / Hide Table of Contents

Method ExplorerFolder.NewTab


Overload

Adds new tab in a folder window.

public static ExplorerFolder NewTab(wnd w, string folder = null)
Parameters
w  (wnd)

A folder window.

folder  (string)

If not null, calls ExplorerFolder.Open.

Returns
ExplorerFolder

ExplorerFolder of the new tab.

Exceptions
Exception

Failed.

Remarks

This method may stop working after a windows update. Because there is no Windows API, it uses undocumented UI element names (they may change).