WindowsUserNotification.SetSuppressPopup
----------------------------------------

Sets whether a toast's pop-up UI is displayed on the user's screen.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsUserNotification](component_WindowsUserNotification.md) | [13.1](newinversion131.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WindowsUserNotification.SetSuppressPopup"; Notification; Value ) 

**MBS**( **"WindowsUserNotification.SetSuppressPopup";** /\* Sets whether a toast's pop-up UI is displayed on the user's screen. \*/  
**$Notification**; /\* The reference number for the Windows User Notification. \*/   
**$Value**) /\* The new setting.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Notification | The reference number for the Windows User Notification. | $Notification |
| Value | The new setting. | 0 |

### Result

Returns OK or error.

### Description

Sets whether a toast's pop-up UI is displayed on the user's screen.  
Set to 1 to suppress the popup message; otherwise, 0. The default value is 0, meaning the toast's pop-up message will be shown. Setting this property to true places the toast notification silently into the action center. This enables your app to communicate with the user without interrupting them.  
  
Value is -1 to take Windows’ default setting.  
### See also

- [WindowsUserNotification.GetSuppressPopup](WindowsUserNotificationGetSuppressPopup.md)
- [WindowsUserNotification.SetExpiresOnReboot](WindowsUserNotificationSetExpiresOnReboot.md)
- [WindowsUserNotification.SetGroup](WindowsUserNotificationSetGroup.md)
- [WindowsUserNotification.SetScriptName](WindowsUserNotificationSetScriptName.md)

### Release notes

- **Version 13.1**
    - Added [WindowsUserNotification.SetSuppressPopup](https://www.mbsplugins.eu/WindowsUserNotificationSetSuppressPopup.shtml) and [WindowsUserNotification.GetSuppressPopup](https://www.mbsplugins.eu/WindowsUserNotificationGetSuppressPopup.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st January 2023 , last changed 21st January 2023

  
[WindowsUserNotification.SetScriptName](WindowsUserNotificationSetScriptName.md) - [WindowsUserNotification.SetTag](WindowsUserNotificationSetTag.md)

[HTML Version](WindowsUserNotificationSetSuppressPopup.shtml)