Archive: NSD_CreateLink - what to put in Function?


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.

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.

Works like a charm, thanks a lot.


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.