new location for WinMessages.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1909 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
614cd6d972
commit
c2ef23bfdd
7 changed files with 18 additions and 10 deletions
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
!define MUI_MACROS_USED
|
!define MUI_MACROS_USED
|
||||||
|
|
||||||
!include "${NSISDIR}\Examples\WinMessages.nsh"
|
!include "${NSISDIR}\Include\WinMessages.nsh"
|
||||||
|
|
||||||
!define MUI_TEMP1 $R0
|
!define MUI_TEMP1 $R0
|
||||||
!define MUI_TEMP2 $R1
|
!define MUI_TEMP2 $R1
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
!include "${NSISDIR}\Contrib\System\System.nsh"
|
!include "${NSISDIR}\Contrib\System\System.nsh"
|
||||||
|
|
||||||
!verbose 3 ; For WinMessages especially
|
!verbose 3 ; For WinMessages especially
|
||||||
!include "${NSISDIR}\Examples\WinMessages.nsh"
|
!include "${NSISDIR}\Include\WinMessages.nsh"
|
||||||
!verbose 3
|
!verbose 4
|
||||||
|
|
||||||
; ================= systemGetFileSysTime implementation =================
|
; ================= systemGetFileSysTime implementation =================
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ This callback will be called just before the first page is loaded and the instal
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
\c !include "${NSISDIR}\Examples\WinMessages.NSH"
|
\c !include "${NSISDIR}\Include\WinMessages.nsh"
|
||||||
\c
|
\c
|
||||||
\c Function .onGUIInit
|
\c Function .onGUIInit
|
||||||
\c # 1028 is the id of the branding text control
|
\c # 1028 is the id of the branding text control
|
||||||
|
|
|
@ -142,7 +142,7 @@ Returns from a function or section.
|
||||||
|
|
||||||
\b \e{WM_USER} 1024
|
\b \e{WM_USER} 1024
|
||||||
|
|
||||||
Include $\{NSISDIR\}\\Examples\\WinMessages.nsh to have all of Windows messages defined in your script.
|
Include $\{NSISDIR\}\\Include\\WinMessages.nsh to have all of Windows messages defined in your script.
|
||||||
|
|
||||||
To send a string param, put STR: before the parameter, for example: "STR:Some string".
|
To send a string param, put STR: before the parameter, for example: "STR:Some string".
|
||||||
|
|
||||||
|
|
|
@ -84,4 +84,4 @@ Same as \W{http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterf
|
||||||
|
|
||||||
\c hwnd show_state
|
\c hwnd show_state
|
||||||
|
|
||||||
Sets the visibilty of a window. Possible show_states are the same as \W{http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/showwindow.asp}{Widnows ShowWindow} function. SW_* are defined in \W{../Examples/WinMessages.NSH}{Examples\\WinMessages.NSH}.
|
Sets the visibilty of a window. Possible show_states are the same as \W{http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/showwindow.asp}{Widnows ShowWindow} function. SW_* are defined in \W{../Include/WinMessages.NSH}{Include\\WinMessages.NSH}.
|
|
@ -72,6 +72,9 @@ Section "NSIS Development System (required)" SecCore
|
||||||
File ..\nsisconf.nsh
|
File ..\nsisconf.nsh
|
||||||
SetOverwrite try
|
SetOverwrite try
|
||||||
|
|
||||||
|
SetOutPath $INSTDIR\Include
|
||||||
|
File ..\Include\WinMessages.nsh
|
||||||
|
|
||||||
SetOutPath $INSTDIR\Docs
|
SetOutPath $INSTDIR\Docs
|
||||||
File ..\Docs\*.html
|
File ..\Docs\*.html
|
||||||
File ..\Docs\*.css
|
File ..\Docs\*.css
|
||||||
|
@ -100,7 +103,6 @@ Section "NSIS Examples (recommended)" SecExample
|
||||||
File ..\Examples\gfx.nsi
|
File ..\Examples\gfx.nsi
|
||||||
File ..\Examples\one-section.nsi
|
File ..\Examples\one-section.nsi
|
||||||
File ..\Examples\languages.nsi
|
File ..\Examples\languages.nsi
|
||||||
File ..\Examples\WinMessages.nsh
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "NSI Development Shell Extensions" SecExtention
|
Section "NSI Development Shell Extensions" SecExtention
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
; KiCHiK put together this list of WM_ messages.
|
; List of common Windows Messages
|
||||||
!ifndef WINMESSAGES_NSH
|
; By KiCHiK
|
||||||
!define WINMESSAGES_NSH
|
|
||||||
|
; Include in your script using:
|
||||||
|
; !include "${NSISDIR}\Include\WinMessages.nsh"
|
||||||
|
|
||||||
|
!ifndef WINMESSAGES_INCLUDED
|
||||||
|
|
||||||
|
!define WINMESSAGES_INCLUDED
|
||||||
|
|
||||||
!define HWND_BROADCAST 0xFFFF
|
!define HWND_BROADCAST 0xFFFF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue