Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Icon (static) in dialog not displaying in real size
#1
I have an icon resource in a dialog defined like this:
Code:
Copy      Help
str s3=
:100 d:\images\test.ico

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:
Code:
Copy      Help
si8=":100"

It works, but it's rendered to small.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)