This method allows to exclude a top level window from screen captures. Windows 7 or newer is required and any macOS version is supported. Other platforms are not implemented and will return false. The display example has been extended to demo this ability. Closes #22066.