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:
parent
8471f65bba
commit
a951158503
3 changed files with 9 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -32,4 +32,6 @@ Sound [/WAIT] path_to_wav
|
|||
Credits
|
||||
~~~~~~~
|
||||
|
||||
Coded by Amir Szekely, aka KiCHiK
|
||||
Coded by Amir Szekely, aka KiCHiK
|
||||
Modified by Ximon Eighteen, aka Sunjammer (08Feb2003) - Removed the window title bar
|
||||
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue