Removed the annoying window title bar

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2127 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
sunjammerx 2003-02-08 20:49:56 +00:00
parent 8471f65bba
commit a951158503
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,7 @@
/* I modified the window styles to eliminate the annoying title bar.
8th February 2003 Ximon Eighteen aka Sunjammer */
#include <Windows.h>
#include <Mmsystem.h>
#include "../exdll/exdll.h"
@ -39,10 +43,10 @@ extern "C" void __declspec(dllexport) Init(HWND hwndParent, int string_size, cha
}
hWndImage = CreateWindowEx(
WS_EX_TOOLWINDOW,
WS_EX_TOOLWINDOW|WS_EX_LEFT|WS_EX_LTRREADING|WS_EX_RIGHTSCROLLBAR,
"NSISBGImage",
0,
WS_VISIBLE,
WS_POPUPWINDOW|WS_VISIBLE|WS_CLIPSIBLINGS|WS_OVERLAPPED,
(GetSystemMetrics(SM_CXSCREEN)-x)/2,
(GetSystemMetrics(SM_CYSCREEN)-y)/2,
x,