BMP image as button in nsDialogs?
In nsDialogs, is there a way to map a BMP image onto a button? I was to use a button, but I'd rather have an image on it rather than just plain text. Thanks.
5 posts
${NSD_AddStyle} $BUTTON "${BS_BITMAP}"
; Set the bitmap.
System::Call 'user32::LoadImage(i 0, t "$PLUGINSDIR\test.bmp", i ${IMAGE_BITMAP}, i 0, i 0, i ${LR_CREATEDIBSECTION}|${LR_LOADFROMFILE}) i.s'
Pop $6
SendMessage $BUTTON ${BM_SETIMAGE} ${IMAGE_BITMAP} $6 Works fine, a bitmap button without text.