Skip to content

Legacy: PopToastNotification routine

Archie_UwU edited this page Nov 19, 2023 · 1 revision

You are reading the documentation of YYToolkit Legacy (v2.x.x) - for documentation on current-gen YYTK, see the Homepage.


Creates a native toast notification using the Portable-File-Dialogs API.

Syntax

void PopToastNotification(
    const std::string& Text,
    const std::string& Caption,
    int IconType
);

Example look

ExampleToast

Parameters

Text

The body text of the toast notification.

Caption

The title text of the toast notification. On Windows 10, it is displayed bold.

IconType

Determines which icon to display along with the message

Integer Value Icon
0 Information (ℹ️) icon
1 Warning (⚠️) icon
2 Error (❌) icon
3 Question (❓) icon

Quick Access

Documentation

Writeups

Clone this wiki locally