xbarns
12th March 2008 11:26 UTC
NSD_CreateLink - what to put in Function?
Hi all,
i use nsDialogs to put a link into a custom page it looks like this
)
Var /GLOBAL LINK
Pop $LINK
>${NSD_OnClick} $LINK onClickMyLink
>
What do i have to put in onClickMyLink so the link actually gets opened ? I tried the forum but have not found an example.
Also can i "mask" the actual link by something like "Please click here" ??
Thanks.
{_trueparuex^}
12th March 2008 18:24 UTC
You can put whatever you want in the function, but in this case... E.g:
Function onClickMyLink
Pop $0 ; don't forget to pop HWND of the stack
ExecShell "open" "http://nsis.sf.net/"
FunctionEnd
And yes you can use any text for the link control.
xbarns
13th March 2008 08:55 UTC
Works like a charm, thanks a lot.
sr164w
27th December 2011 12:15 UTC
Hii
Could any1 please let me know how to refresh the link on the same page
like, how to reflect the changed value of the drop down in the ${NSD_CreateLink} link text.