diff options
Diffstat (limited to 'plugins/Popup/src/main.cpp')
-rw-r--r-- | plugins/Popup/src/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index 0e21debb84..88d87f9df9 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -48,6 +48,9 @@ HMODULE hDwmapiDll = nullptr; GLOBAL_WND_CLASSES g_wndClass = { 0 };
+HANDLE htuText;
+HANDLE htuTitle;
+
HGENMENU hMenuRoot;
HGENMENU hMenuItem;
HGENMENU hMenuItemHistory;
@@ -218,6 +221,10 @@ static int ModulesLoaded(WPARAM, LPARAM) gbHppInstalled = ServiceExists(MS_HPP_GETVERSION) && ServiceExists(MS_HPP_EG_WINDOW) &&
(CallService(MS_HPP_GETVERSION, 0, 0) >= PLUGIN_MAKE_VERSION(1, 5, 0, 112));
+ // check if MText plugin is installed
+ htuText = MTextRegister("Popup Plus/Text", MTEXT_FANCY_DEFAULT);
+ htuTitle = MTextRegister("Popup Plus/Title", MTEXT_FANCY_DEFAULT);
+
// check if OptionLoaded
if (!OptionLoaded)
LoadOptions();
|