Linker plug-in

From NSIS Wiki
Revision as of 08:43, 13 August 2013 by Slappy (talk | contribs)
Jump to navigationJump to search
Author: kichik (talk, contrib)


Download

Linker.zip (73 KB)

Linker.1.1.zip (25KB) NSIS & Unicode NSIS versions


Linker-1.2.zip (46 KB) (48KB) NSIS & Unicode NSIS versions

Version 1.2 by Slappy (graphical-installer.com)

+ Added Visual Studio 2010 solution and project (in VC10 directory)

+ Added transparent background for text

Description

This plug-in transforms a label into a clickable link. It can be used to add links to non-custom pages, such as the license and the components page. Usage is very simple and requires just a HWND.

Example

FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $0 $0 1006
Linker::link /NOUNLOAD $0 "http://www.google.com/"

Credits

The code responsible for the actual linking was taken from catch22 and was created by James Brown & Ralph Bittmann. This plug-in is nothing but a wrapper for their code.