From 954765e0ccd1149af7467bd8cfb41395c546f5ee Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 4 Oct 2003 03:06:39 +0000 Subject: [PATCH] Set win_style of the main window to WS_OVERLAPPEDWINDOW. --- programs/winhelp/winhelp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/winhelp/winhelp.c b/programs/winhelp/winhelp.c index fad343b2004..d16f263f04c 100644 --- a/programs/winhelp/winhelp.c +++ b/programs/winhelp/winhelp.c @@ -115,6 +115,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name) strcpy(mwi.caption, hlpfile->lpszTitle); mwi.origin.x = mwi.origin.y = mwi.size.cx = mwi.size.cy = CW_USEDEFAULT; mwi.style = SW_SHOW; + mwi.win_style = WS_OVERLAPPEDWINDOW; mwi.sr_color = mwi.sr_color = 0xFFFFFF; } return &mwi;