![]() |
#1 |
Junior Member
Join Date: Jan 2012
Posts: 3
|
![]()
I've spent most of the past week trying to add a link to MUI_PAGE_COMPONENTS - I've tried all the various examples that I found by searching the forum.
But there's not way to get the text to be "live" and open a browser. The classic PHP Code:
My latest attempt tried all the tricks on this old thread. The "go to google" link appears as text but is not a hyperlink. ![]() I've tried with "linker" and "linker 1.1" from the linker plug in page. I'm using NSIS version 2.45 I've considered adding a button instead, but that looks even more complicated. Any ideas? Our MUI_PAGE_COMPONENTS has a list of 10 check-boxes, so I'm in no hurry to recreate it as a custom screen, unless that's the easy way to do it. - Danny, who inherited a rather large and complicated NSIS installation that needs to be maintained. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
What function are you calling it from? The page show function (MUI_PAGE_CUSTOMFUNCTION_SHOW)?
Stu |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jan 2012
Posts: 3
|
Correct. Here's the relevant parts of the code:
PHP Code:
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Your GetDlgItem is wrong there. It should be GetDlgItem $0 $0 1021.
Stu |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Jan 2012
Posts: 3
|
![]()
Hi Stu
I really appreciate the time you are spending on this. Your "correction" was the original code - and it didn't work. So I changed it based on some "hint" I found in my many searches. I just tried it again - this time with your version, and alas, it still does not work. ![]() The code now says: PHP Code:
Is there some "include" I am missing? I'm convinced I'm missing something elementary. Thanks - Danny |
![]() |
![]() |
![]() |
#6 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
It works for 1006 and 1023 but not that control. It must be the SS_LEFTNOWORDWRAP style. Try replacing the style with SS_LEFT using Resource Hacker and apply the modified resource with !define MUI_UI.
Stu |
![]() |
![]() |
![]() |
|
Tags |
links, nsis, url |
Thread Tools | Search this Thread |
Display Modes | |
|
|