Hi,
I want to use in my nsdialogs custom page, few icons.
I choose to display icons, because they are transparent.
So, here is the code I create icon and display it. Unfortunatelly, the size of icon is default, I think 32x32 (but i am not sure, maybe 16x16). The icon I use, has 128x128 size inside... How to force it to use bigger size?
I also tried to add some style, but no success...What am I doing wrong?
-Pawel
I want to use in my nsdialogs custom page, few icons.
I choose to display icons, because they are transparent.
So, here is the code I create icon and display it. Unfortunatelly, the size of icon is default, I think 32x32 (but i am not sure, maybe 16x16). The icon I use, has 128x128 size inside... How to force it to use bigger size?
PHP Code:
Var /Global My_Icon
File /oname=$PLUGINSDIR\\My_Icon.ico "test\\My_Icon.ico"
; Icon
${NSD_CreateIcon} 15u 40u 100% 100% ""
Pop $My_Icon
${NSD_SetIcon} $My_Icon $PLUGINSDIR\\My_Icon.ico $My_Icon_Handle
...
${NSD_FreeIcon} $My_Icon_Handle
PHP Code:
${NSD_AddStyle} $My_Icon ${SS_REALSIZEIMAGE}
Comment