From 03dab2efa522cb0fc82051d4a8ba65f509f6b930 Mon Sep 17 00:00:00 2001 From: sje Date: Tue, 10 Jul 2007 06:05:33 +0000 Subject: added API and UI for classes git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@263 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/popups2.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'yapp/popups2.cpp') diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp index cb7f561..56c1c59 100644 --- a/yapp/popups2.cpp +++ b/yapp/popups2.cpp @@ -348,6 +348,20 @@ extern "C" int POPUPS2_API Load(PLUGINLINK *link) { hEventPreShutdown = HookEvent(ME_SYSTEM_PRESHUTDOWN, PreShutdown); hEventModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded); + /* + // test popup classes + POPUPCLASS test = {0}; + test.cbSize = sizeof(test); + test.flags = PCF_TCHAR; + test.hIcon = LoadIcon(0, IDI_WARNING); + test.colorBack = RGB(0, 0, 0); + test.colorText = RGB(255, 255, 255); + test.iSeconds = 10; + test.ptszDescription = TranslateT("Test popup class"); + test.pszName = "popup/testclass"; + CallService(MS_POPUP_REGISTERCLASS, 0, (WPARAM)&test); + */ + return 0; } -- cgit v1.2.3