added ${NSD_GetText}
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5254 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5f5bc04e45
commit
c310b82976
1 changed files with 9 additions and 0 deletions
|
@ -287,6 +287,15 @@ Header file for creating custom installer pages with nsDialogs
|
|||
!insertmacro __NSD_DefineCallback Notify
|
||||
!insertmacro __NSD_DefineCallback Back
|
||||
|
||||
!macro __NSD_GetText CONTROL VAR
|
||||
|
||||
System::Call user32::GetWindowText(i${CONTROL},t.s,i${NSIS_MAX_STRLEN})
|
||||
Pop ${VAR}
|
||||
|
||||
!macroend
|
||||
|
||||
!define NSD_GetText `!insertmacro __NSD_GetText`
|
||||
|
||||
!define DEBUG `System::Call kernel32::OutputDebugString(ts)`
|
||||
|
||||
!macro __NSD_ControlCase TYPE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue