diff options
Diffstat (limited to 'plugins/Clist_mw/src/clc.cpp')
-rw-r--r-- | plugins/Clist_mw/src/clc.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/Clist_mw/src/clc.cpp b/plugins/Clist_mw/src/clc.cpp index 40eddc02eb..305a9a9ded 100644 --- a/plugins/Clist_mw/src/clc.cpp +++ b/plugins/Clist_mw/src/clc.cpp @@ -292,3 +292,22 @@ int LoadCLCModule(void) HookEvent(ME_SYSTEM_SHUTDOWN,ClcShutdown);
return 0;
}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
+static INT_PTR CLUIGetCapsService(WPARAM wParam,LPARAM lParam)
+{
+ switch (wParam) {
+ case CLUICAPS_FLAGS1:
+ return CLUIF_HIDEEMPTYGROUPS | CLUIF_DISABLEGROUPS | CLUIF_HASONTOPOPTION | CLUIF_HASAUTOHIDEOPTION;
+ case CLUICAPS_FLAGS2:
+ return MAKELONG(MAXEXTRACOLUMNS,1);
+ }
+ return 0;
+}
+
+int PreloadCLCModule()
+{
+ CreateServiceFunction(MS_CLUI_GETCAPS, CLUIGetCapsService);
+ return 0;
+}
|