Archive: beyond margins for nsDialogs


beyond margins for nsDialogs
I am trying to display an image on the left side of my custom dialog in much the way the standard welcome or finish dialog shows where the image is completely flush with the left-hand side. As it displays now it is obeying the margin for the controls so it is inset a bit.

Does anyone know how to get the image to display further left than using "0" as the starting X position in a custom dialog control (EX: ${NSD_CreateBitmap} 0 0 200 250 "") so that it's flushed to the left?

Thanks!


http://nsis.sourceforge.net/Image_in...dow_background


Thanks jpderuiter. I think I found a way that I like a bit better, though. I found it in one of the samples for nsDialogs. I noticed that one of the samples has the Welcome page just as I would like it and in doing some experimentation I found out what the difference between their page and mine was:

Most dialogs use this:
nsDialogs::Create /NOUNLOAD 1018

But the dialog where the text / image is flushed (ie without the margins) is specified like this:
nsDialogs::Create /NOUNLOAD 1044

Perhaps this is documented somewhere, but I have not been able to find it. I hope if anyone else needs this info they can find this thread. Thanks again for your help.

Kris,