summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp')
-rw-r--r--plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp28
1 files changed, 13 insertions, 15 deletions
diff --git a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
index 599a4f9d88..aa5e376f25 100644
--- a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
+++ b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
@@ -3785,22 +3785,20 @@ int CLUIFrameOnModulesUnload(WPARAM wParam, LPARAM lParam)
if (!_hmiVisible)
return 0;
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiVisible, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiTBVisible, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiLock, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiColl, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiFloating, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignTop, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignClient, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignBottom, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiBorder, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiAlignRoot, 0);
-
-
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiPosUp, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiPosDown, 0);
- CallService(MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, (LPARAM)_hmiPosRoot, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiVisible, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiTBVisible, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiLock, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiColl, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiFloating, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiAlignTop, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiAlignClient, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiAlignBottom, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiBorder, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiAlignRoot, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiPosUp, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiPosDown, 0);
+ CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiPosRoot, 0);
CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiVisible, 0);
CallService(MO_REMOVEMENUITEM, (LPARAM)_hmiTBVisible, 0);