MessageCtrl package for U++

February 13, 2021 ยท View on GitHub

This package implements a messages manager widget. Messages are simple message boxes similar to prompts in that they can allow the same basic user actions. However, message boxes are not meant as a replacement for the traditional U++ dialogs. The main difference between the messages and the prompts is that the message boxes are implemented as frames instead of dialogs, and are meant to be less intrusive, and non-blocking.

Message box types

TypeDescription
InformationShould be used to display common information.
WarningShould be used to report non-critical issue, to inform not everything is all right.
OKShould be used to display successful operations. Essentially this is an information notification.
QuestionShould be used to ask for some interaction.
ErrorShould be used to display critical application errors
CustomIf the predefined notification types don't suit your needs, you can create one.

Message boxes use QTF texts. This allows for embedding hyperlinks in messages. It also means that in some cases the text messages should be escaped, using DeQtf() function.


Screenshot