Old 15th May 2004, 13:31   #1
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Question ToolTips plugin: How usefull?

How usefull will be a plugin that will allow to display Tooltips in some controls of the Installer's dialog?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 15th May 2004, 21:37   #2
VegetaSan
Senior Member
 
VegetaSan's Avatar
 
Join Date: Jan 2004
Location: The Netherlands
Posts: 260
very usefull .. and very cool.... !!!!
VegetaSan is offline   Reply With Quote
Old 16th May 2004, 13:35   #3
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
In progress


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 18th May 2004, 22:35   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
See first version of it.
Compile the example.


Comments?
Attached Files
File Type: zip tooltips.zip (2.5 KB, 367 views)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 19th May 2004, 02:03   #5
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Hmmm... Great, it worked very well with Win XP!

Keep up with the good work!


My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 19th May 2004, 22:56   #6
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
For the Modern tooltip will need IE 5 or Windows 98.

Any luck in Win9x and Win2k users?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 19th May 2004, 23:08   #7
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
Both types of tooltip appeared on my Win98SE system
pengyou is offline   Reply With Quote
Old 20th May 2004, 13:36   #8
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Thanks!

I'll do final fixes, than load-it up in the web archive


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 6th June 2004, 12:57   #9
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
does this also work for IO pages?
Yathosho is offline   Reply With Quote
Old 6th June 2004, 13:35   #10
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Yes, you'll just get the HWND of the control.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 6th June 2004, 13:57   #11
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
is there a tool, which shows me the HWND of my controls (onmouseover)?
Yathosho is offline   Reply With Quote
Old 6th June 2004, 16:35   #12
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Don't need to, in your show function of the custom page, use as the documentation of InstallOptions:
Quote:
GetDlgItem (output var) (hwnd of the custom dialog) (1200 + Field number - 1)
I'll try to make an example


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 20th June 2004, 17:34   #13
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
how do i get the hwnd of the custom page then?
Yathosho is offline   Reply With Quote
Old 20th June 2004, 18:07   #14
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
code:

Function FunctionName ;FunctionName defined with Page command

;Display the Install Options dialog

Push $R0
Push $R1
Push $R2

InstallOptions::initDialog /NOUNLOAD $PLUGINSDIR\test.ini
Pop $R0 # HWND

GetDlgItem $R1 $R0 1200 ;1200 + Field number - 1

;$R1 contains the HWND of the first field
CreateFont $R2 "Tahoma" 10 700
SendMessage $R1 ${WM_SETFONT} $R2 0

InstallOptions::show
Pop $R0

Pop $R2
Pop $R1
Pop $R0

FunctionEnd



* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 20th June 2004, 20:53   #15
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
as i'm using MUI, i tried the following code.
code:
Var HWND
Var DLGITEM

Function .onInit
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioA.ini"
FunctionEnd

Function SetCustomA
!insertmacro MUI_HEADER_TEXT "Caption" "Description"
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioA.ini"
Pop $HWND
GetDlgItem $DLGITEM $HWND 1201 ;Field 2
ToolTips::Classic $DLGITEM "Test"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "ioA.ini"
FunctionEnd


the result of this is the installer quitting instantly after calling that page. can anyone help me out please?
Yathosho is offline   Reply With Quote
Old 21st June 2004, 01:21   #16
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
You should attach your script so we can help to fix it properly.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 21st June 2004, 02:06   #17
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
hope this helps
Attached Files
File Type: zip 3t.zip (777 Bytes, 293 views)
Yathosho is offline   Reply With Quote
Old 21st June 2004, 10:57   #18
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
1) Remove !define MUI_CUSTOMPAGECOMMANDS.

2) Replace !insertmacro MUI_INSTALLOPTIONS_DISPLAY "ioA.ini" by !insertmacro MUI_INSTALLOPTIONS_SHOW.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 21st June 2004, 20:55   #19
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Updated plugin

New:
Customize the fore, background color as well the font and the size.

See the example for details.



* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 29th December 2004, 15:05   #20
ezar2003
Junior Member
 
Join Date: Dec 2004
Posts: 2
Perfect!! and... Thank You!!! Where Can I download it? (in web page it's 1.0 version)
ezar2003 is offline   Reply With Quote
Old 29th December 2004, 17:36   #21
agentorange665
Junior Member
 
Join Date: Dec 2004
Posts: 1
In the archive: http://nsis.sourceforge.net/archive/...instances=0,32

But the link there just points here to lobos site:
http://www.lobo-lunar.com/nsis/

Although the version has not changed.
agentorange665 is offline   Reply With Quote
Old 29th December 2004, 18:02   #22
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
I see, that was a debug upload in that time...

I'll work in the debug for a release one


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 29th December 2004, 18:31   #23
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Ok... updated

See the readme + examples....
What's new?
1. Custom colors.
2. Custom font face and size.

Archive


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 30th December 2004, 08:12   #24
ezar2003
Junior Member
 
Join Date: Dec 2004
Posts: 2
Thank You!!!
I have some problem If I add a tooltip to ComboBox or Button, when timeout expire tooltip don't appear anymore...
(Es decir, si en un ComboBox o un Botón asocio un Tooltip y lo hago aparecer, pasando el ratón por encima, cuando desaparece ya no vuelve a aparecer. Esto no pasa en un EntryField)
ezar2003 is offline   Reply With Quote
Old 30th December 2004, 13:53   #25
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Yes, I have the same problem... I don't know why, I use the user's timeout default appear-dissapear. I'll check msdn, maybe I'm missing something...

Thanks for the reply....


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 23rd July 2006, 03:36   #26
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Updated:

- Fix size bug.
- Added an example with custom page controls.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 23rd July 2006, 06:32   #27
Mark Nascimento
Member
 
Join Date: Jul 2006
Posts: 82
Thanks, Joel.
Mark Nascimento is offline   Reply With Quote
Old 24th July 2006, 17:46   #28
onad
Senior Member
 
onad's Avatar
 
Join Date: Dec 2004
Location: Turkey
Posts: 447
Nice, I'll love plugins,

What about adding:

!addplugindir ".\"

to your NSIS script so we can try instantly?

"Just do it"
onad is offline   Reply With Quote
Old 25th July 2006, 00:57   #29
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Quote:
Originally posted by onad
Nice, I'll love plugins,

What about adding:

!addplugindir ".\"

to your NSIS script so we can try instantly?
Maybe
on next release


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 3rd May 2010, 00:26   #30
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
This plugin is no longer maintained, so I thought I'd write up some issues encountered in later versions of Windows (and in general usage):
http://nsis.sourceforge.net/ToolTips...d_known_issues
Animaether 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