Add a comment about the helper function introduced in the previous commit.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2020-10-16 20:27:06 +08:00
parent ff10ae21f4
commit 5296fb6f90
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ public:
// Thin wrapper of DwmExtendFrameIntoClientArea(). // Thin wrapper of DwmExtendFrameIntoClientArea().
static void updateFrameMargins(void *handle /* HWND */); 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); static void setWindowResizable(void *handle /* HWND */, const bool resizable = true);
/////////////////////////////////////////////// ///////////////////////////////////////////////