03-02-2016, 03:29 PM
I have an icon resource in a dialog defined like this:
The test.ico is 48x48 icon file.
When I run the dialog the icon has a small size.
I looked in the styles dialog in the dialog editor and experimented with:
SS_ICON:
- SS_REALSIZE CONTROL
- SS_CENTERIMAGE
- SS_REALSIZEIMAGE
But whatever I try, the icon is rendered in it's (smallest?) size. The control on which I want to render the icon is a Static "Icon".
Its container name is "si8"
I set the variable like this:
It works, but it's rendered to small.
The test.ico is 48x48 icon file.
When I run the dialog the icon has a small size.
I looked in the styles dialog in the dialog editor and experimented with:
SS_ICON:
- SS_REALSIZE CONTROL
- SS_CENTERIMAGE
- SS_REALSIZEIMAGE
But whatever I try, the icon is rendered in it's (smallest?) size. The control on which I want to render the icon is a Static "Icon".
Its container name is "si8"
I set the variable like this:
It works, but it's rendered to small.