Purpose
Returns the number of windows owned by MapInfo Pro, including special windows such as ButtonPads and the Info window. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
NumAllWindows()
Return Value
SmallInt
Description
The NumAllWindows() function returns the number of windows owned by MapInfo Pro.
To determine the number of document windows opened by MapInfo Pro (Map, Browse, Graph, Layout windows), call NumWindows().
See Also:
NumWindows() function, WindowID() function