They are. I am not sure of all the sides of NSIS as well. I am just 3 days into using it. And there are some areas that are still confusing to me.
The relevant pieces appear to be:
(inside the nsdinc file)
code:
Var hCtl_Config_TB_FTPUser
Function fnc_Config_Create
nsDialogs::Create 1018
Pop $hCtl_Config
${If} $hCtl_Config == error
Abort
${EndIf}
!insertmacro MUI_HEADER_TEXT "Configuration" "Config"
; === TB_FTPUser (type: Text) ===
${NSD_CreateText} 68u 57u 59u 10u ""
Pop $hCtl_Config_TB_FTPUser
FunctionEnd
Function fnc_Config_Show
Call fnc_Config_Create
nsDialogs::Show $hCtl_Config
FunctionEnd
I tried this as a change to the below function in my file and it did not work.
code:
Function fnc_Show_Config
nsDialogs::GetUserData ${hwnd} hCtl_Config_TB_FTPUser
Pop $user
MessageBox MB_OK "$User"
FunctionEnd