From 1f2d4a78a1b8ccef2abf4bb480113a2570ab52b1 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Fri, 22 Nov 2019 09:26:01 +0900 Subject: [PATCH] [NOTEPAD] Add SBS_SIZEGRIP to status bar CORE-16528 --- base/applications/notepad/dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/applications/notepad/dialog.c b/base/applications/notepad/dialog.c index f69773e3b04..92e2a5614e4 100644 --- a/base/applications/notepad/dialog.c +++ b/base/applications/notepad/dialog.c @@ -832,10 +832,10 @@ VOID DoCreateStatusBar(VOID) /* Check if status bar object already exists. */ if (Globals.hStatusBar == NULL) { + const DWORD style = WS_CHILD | WS_VISIBLE | WS_EX_STATICEDGE | SBS_SIZEGRIP; + /* Try to create the status bar */ - Globals.hStatusBar = CreateStatusWindow(WS_CHILD | WS_VISIBLE | WS_EX_STATICEDGE, - NULL, - Globals.hMainWnd, + Globals.hStatusBar = CreateStatusWindow(style, NULL, Globals.hMainWnd, CMD_STATUSBAR_WND_ID); if (Globals.hStatusBar == NULL)