分離ウィンドウのサブクラス化を追加

このコミットが含まれているのは:
routersys committed 2026-08-24 18:19:28 +09:00
1 親 c43aa5bc1d
コミット 2cb3aae043
5ファイル変更
+147 -1

検索条件に一致するファイルはありません

+15 -1
ファイルの表示
@@ -1,7 +1,12 @@
#include <windows.h>
#include "DragSession.h"
#include "FloatWindowHook.h"
#include "GuideWindow.h"
#include "HostContext.h"
#include "HostWindowHook.h"
#include "Log.h"
#include "WindowMenu.h"
#include "plugin2.h"
@@ -23,10 +28,19 @@ EXTERN_C __declspec(dllexport) bool InitializePlugin(DWORD) { return true; }
EXTERN_C __declspec(dllexport) void RegisterPlugin(HOST_APP_TABLE* host) {
SetHostWindow(host->create_edit_handle()->get_host_app_window());
LogF(L"DockLayout registered (host=%p)", (void*)HostWindow());
InstallWindowMenuHook();
InstallHostWindowHook();
InstallFloatWindowHook();
LogF(L"ドッキング配置: 有効になりました");
}
EXTERN_C __declspec(dllexport) void UninitializePlugin() {
Drag().Cancel();
Overlay().Destroy();
UninstallFloatWindowHook();
UninstallHostWindowHook();
UninstallWindowMenuHook();
}
BOOL APIENTRY DllMain(HMODULE, DWORD, LPVOID) { return TRUE; }