Skip to main content

WinType

WinType (winNameStr)

The WinType function returns a value indicating the type of the named window.

Details

winNameStr is a string or string expression containing the name of a window or subwindow, or "" to signify the target window. When identifying a subwindow with winNameStr, see Subwindow Syntax for details on forming the window hierarchy.

WinType returns the following values:

0:No window by that name
1:Graph
2:Table
3:Layout
5:Notebook
7:Panel
13XOP target window
17Gizmo window in Igor Pro 7.00 or later

Since command and procedure windows do not have names (they only have titles), WinType cannot even be asked about those windows.

See Also

WinName, ChildWindowList, WinList