Old 25th February 2015, 14:02   #1
coderwolf
Junior Member
 
Join Date: Feb 2015
Posts: 25
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

coderwolf is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump