Hi everyone,
I try to add the icon by using ${NSD_CreateIcon} but I don't know how to set/load the icon that can show in the dialog. I see the nsdialog has the NSD_SetImage but not for Icon. Here is sample code
nsDialogs::Create /NOUNLOAD 1018
${NSD_CreateLabel} 0 0 100% 24u $R1
Pop $R1
${NSD_CreateRadioButton} 30u 50u -30u 8u $R2
Pop $R2
${NSD_OnClick} $R2 function_check_leave
${NSD_CreateIcon} 5u 60u 100% 100% $Icon
Pop $Icon
${NSD_SetImage} $Icon $PLUGINSDIR\Contrib\Graphics\Icon\nisi1-uninstall.ico $IconHandle
Thank you!
I try to add the icon by using ${NSD_CreateIcon} but I don't know how to set/load the icon that can show in the dialog. I see the nsdialog has the NSD_SetImage but not for Icon. Here is sample code
nsDialogs::Create /NOUNLOAD 1018
${NSD_CreateLabel} 0 0 100% 24u $R1
Pop $R1
${NSD_CreateRadioButton} 30u 50u -30u 8u $R2
Pop $R2
${NSD_OnClick} $R2 function_check_leave
${NSD_CreateIcon} 5u 60u 100% 100% $Icon
Pop $Icon
${NSD_SetImage} $Icon $PLUGINSDIR\Contrib\Graphics\Icon\nisi1-uninstall.ico $IconHandle
Thank you!
Comment