From 5296fb6f90a2d94e353266c4541cdfdabae9851b Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Fri, 16 Oct 2020 20:27:06 +0800 Subject: [PATCH] Add a comment about the helper function introduced in the previous commit. Signed-off-by: Yuhang Zhao <2546789017@qq.com> --- winnativeeventfilter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winnativeeventfilter.h b/winnativeeventfilter.h index ddae41d..27f5ce7 100644 --- a/winnativeeventfilter.h +++ b/winnativeeventfilter.h @@ -146,7 +146,8 @@ public: // Thin wrapper of DwmExtendFrameIntoClientArea(). static void updateFrameMargins(void *handle /* HWND */); - // Helper function. + // Helper function. Designed for normal windows only. + // Don't use it on frameless windows! static void setWindowResizable(void *handle /* HWND */, const bool resizable = true); ///////////////////////////////////////////////