Skip to content
⌘ NSIS Forum Archive

tooltips plugin in unicode NSIS?

8 posts

world80#

tooltips plugin in unicode NSIS?

Hello,

Is there a way to use tooltips plugin with Unicode nsDialogs.dll

Note that i can't use it via CallAnsiPlugin with the following examples:
for old tooltips version
CallAnsiPlugin::Call "$PLUGINSDIR\ToolTips.dll" classic 2 $hwnd "info"
for last tooltips version
CallAnsiPlugin::Call "$PLUGINSDIR\ToolTips.dll" classic 6 $hwnd "info" 0x00FF0000 0x00FFFFFF "Comic Sans Ms" 10
T.Slappy#
Maybe it is simpler to rebuild the plug-in into Unicode?
I have bad experiences with CallAnsiPlugin, it sometimes crashes or does nothing.
world80#
I think that nsDialogs.dll needs to be added tooltips support 😉

installoptionsex.dll has tooltips support
Anders#
Originally Posted by T.Slappy View Post
I have bad experiences with CallAnsiPlugin, it sometimes crashes or does nothing.
Stuff that subclasses windows or otherwise accesses NSIS internals are not going to work with that plugin...
world80#
Originally Posted by Anders View Post
Stuff that subclasses windows or otherwise accesses NSIS internals are not going to work with that plugin...
I'm trying to use HelpButton.dll via your CallAnsiPlugin, the plugin needs to be called HelpButton::end ( CallAnsiPlugin::Call "$PLUGINSDIR\HelpButton" end 0
) but this function does not work even though the main function is working.

Is this a bug of CallAnsiPlugin?
world80#
Unicode nsDialogs and ToolTips

is it still impossible to make these together?

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
stass#
There is no news about unicode tooltip plugin ?
Maybe it is possible to implement tooltip work in unicode version of nsis using code? How can it be done in practice?
T.Slappy#
Originally Posted by stass View Post
There is no news about unicode tooltip plugin ?
Maybe it is possible to implement tooltip work in unicode version of nsis using code? How can it be done in practice?
The easiest way is to rebuild the plugin (with appropriate change to Unicode in C/C++) and create separate .dll file for Unicode.
There are some APIs that needs to be changed and that cannot be achieved simply in NSIS script.