Example: GetDocumentViewDocwins

 

To find out how many windows the active document is displayed in:

[GetDocumentViewDocwins(0)]

A sample reply:

2, 5, 6

This means that the document is displayed in two windows, with the identifiers of 5 and 6.