Window.IsMaximized
------------------

Queries window maximize state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [9.0](newinversion90.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Window.IsMaximized"; WindowRef ) 

**MBS**( **"Window.IsMaximized";** /\* Queries window maximize state. \*/  
**$WindowRef**) /\* Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window. | 0 |

### Result

Returns 1, 0 or error.

### Description

Queries window maximize state.  
See [Window.Maximize](WindowMaximize.md) and [Window.Minimize](WindowMinimize.md).  
Returns 1 if window is maximized or 0 if not.  
### See also

- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)
- [Window.IsMinimized](WindowIsMinimized.md)
- [Window.IsModified](WindowIsModified.md)
- [Window.Maximize](WindowMaximize.md)
- [Window.Minimize](WindowMinimize.md)

### Release notes

- **Version 9.0**
    - Added [Window.IsMaximized](http://www.mbsplugins.eu/WindowIsMaximized.shtml) and [Window.IsMinimized](http://www.mbsplugins.eu/WindowIsMinimized.shtml).

### Blog Entries

- [New MBS FileMaker Plugin 9.0](https://www.mbsplugins.de/archive/2019-01-22/New_MBS_FileMaker_Plugin_90/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 9.0](https://www.mbsplugins.de/archive/2019-01-22/Neues_MBS_FileMaker_Plugin_90/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.6pr3](https://www.mbsplugins.de/archive/2018-12-12/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 11st December 2018 , last changed 8th August 2021

  
[Window.IsKeyboardVisible](WindowIsKeyboardVisible.md) - [Window.IsMinimized](WindowIsMinimized.md)

[HTML Version](WindowIsMaximized.shtml)