I want to subclass a control by a plugin for dynamic recoloring a lable. I use that code from the MSDN.
But my installer crashes after any click. Is it possible that NSIS calls a Plugin in a different process as the UI? I cannot find that in the NSIS source.
Subclassing a Window
7 posts
Lots of NSIS plug-ins sub class installer windows and other controls. Also: http://nsis.sourceforge.net/WndSubclass_plug-in
Stu
Stu
Thank you for your fast response. That looks almost what i want to do, but there is no c++ source code.
How did they managed it?^^
How did they managed it?^^
It's really not hard, even a lot of my plug-ins do it. Try the Linker plug-in which sub classes a static text.
Stu
Stu
i found my error. my plugin was simply unloaded. i had to implement a callback or to use the /NOUNLOAD switch.
The /NOUNLOAD switch is deprecated. NSIS uses a new plugin model these days. You may have to update.
i use the callback 🙂