WindowsUserNotification.HideNotification
----------------------------------------

Hides the notification.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsUserNotification](component_WindowsUserNotification.md) [UserNotification](component_UserNotification.md) | [7.2](newinversion72.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WindowsUserNotification.HideNotification"; Notification ) 

**MBS**( **"WindowsUserNotification.HideNotification";** /\* Hides the notification. \*/  
**$Notification**) /\* The reference number for the Windows User Notification. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Notification | The reference number for the Windows User Notification. | $Notification |

### Result

Returns OK or error.

### Description

Hides the notification.  
### Examples

Hide notification:

 Set Variable \[$r ; Value:MBS ( "WindowsUserNotification.HideNotification"; Windows User Notifications::ID )\]  
If \[MBS ("IsError")\]  
 Show Custom Dialog \["Error"; $r \]  
End If  
### See also

- [IsError](IsError.md)
- [WindowsUserNotification.NewNotification](WindowsUserNotificationNewNotification.md)
- [WindowsUserNotification.ShowNotification](WindowsUserNotificationShowNotification.md)

### Example Databases

- [Win Only/Windows User Notifications](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Windows%20User%20Notifications.shtml#4ScriptAnchor_)

This function is free to use.

Created 2nd April 2017 , last changed 24th May 2017

  
[WindowsUserNotification.GetText](WindowsUserNotificationGetText.md) - [WindowsUserNotification.Initialize](WindowsUserNotificationInitialize.md)

[HTML Version](WindowsUserNotificationHideNotification.shtml)