Registry / utility / wintoast

wintoast

JSON →
library1.3.2vcpkgunverified

WinToast is a lightly library written in C++ which brings a complete integration of the modern toast notifications of Windows 8 & Windows 10.

vcpkg install wintoast
INSTALL
IMPORT
SIG · WINTOAST
W
wintoast
utilitycppv1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wintoastlib.h
#include <wintoastlib.h>

Show a toast notification on Windows

#include <wintoastlib.h> #include <iostream> int main() { WinToastLib::WinToast::instance()->setAppName(L"MyApp"); WinToastLib::WinToast::instance()->setAppUserModelId(L"MyApp"); if (!WinToastLib::WinToast::instance()->initialize()) { std::cerr << "Failed to initialize WinToast" << std::endl; return 1; } auto templ = WinToastLib::WinToastTemplate(WinToastLib::WinToastTemplate::Text01); templ.setTextField(L"Hello from WinToast!", WinToastLib::WinToastTemplate::FirstLine); WinToastLib::WinToast::instance()->showToast(templ); return 0; }
Debug
Known issues
gotchaWinToast requires Windows 8 or later and a running Windows Runtime environment.
fix
Ensure your application targets Windows 8+ and has appropriate manifest entries.
affects: *
Upgrade
Version history
1.3.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources

No resource links recorded.

wintoast — pip install wintoast · libregistry