Archive: Can nsDialogs create a popup window?


Can nsDialogs create a popup window?
Can nsDialogs plugin create a popup window? Thanks.

Zeeh3


Anybody?


What kind of a popup window? A message box? :confused:


Why not use the banner plugin?


A popup window, not a message box. Banner plugin is a good idea Joel, thanks a lot :) I hope I can customize it to my needs.


Unfortunately banner plugin can't do what I need, because I want to place the popup window near taskbar with additional controls and initially hidden. The new animate plugin from Takhir is a good alternative, but I don't know if a syslink control could be added using system plugin, and I think it will lack callback and there will be no transparent background. If I could use nsDialogs to create a popup window and its controls I could handle callbacks and the custom controls could have transparent background.


Or you can create your own plugin...no?


I wish I could... :)


Yes you can, it's pretty easy to do. Believe me ;)


Well, a good tutorial would be handy :)


I cannot provide a tutorial, but sample code can be found here:
http://publicsvn.songbirdnest.com/br...l.dpr?rev=5425

Also you might look at the code of my NSISList plugin, for a more complex example:
http://nsis.sourceforge.net/mediawik...ist-Plugin.zip

Many more NSIS plugins are available as source code...