

Why both messages and notifications?īasically, a message may have a return value, and is usually thought as a query, though it can also command actions inside Notepad++.Ī notification, on the other hand, simply informs of some event and is more usually thought as a command. These same techniques can also be used for editing macros (some of which use messages to control Notepad++), or when using one of the scripting plugins (which effectively make your script a mini-plugin). Where messages are sent by using Windows SendMessage api, notifications are sent by Notepad++ using WM_NOTIFY messages. Message and notifications share a similar interface. This is done by using messages and notifications.

Plugins need to communicate with Notepad++ to get information from it or to instruct it to do some task. Plugin Communication Plugin Communication: Messages and Notifications
