summaryrefslogtreecommitdiff
path: root/yapp/popups2.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-10 06:05:33 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-10 06:05:33 +0000
commit03dab2efa522cb0fc82051d4a8ba65f509f6b930 (patch)
tree3611e0e4a42a0701f2764f578e6be9cb13701c38 /yapp/popups2.cpp
parent92916d3d9d67abf583b875486d54b1c20ad5883f (diff)
added API and UI for classes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@263 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r--yapp/popups2.cpp14
1 files changed, 14 insertions, 0 deletions
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;
}