Hi!
I can't figure out how to use the image control. I want an icon on the window so I have set "Type" to icon and "Image" to the correct filename. What else do I have to do? I have looked at the IcoCtl example and it compiles fine, even though I can't see any difference between it and my program :confused:
By the way, is it easy to 'recycle' the icon and use it as my main icon too?
I can't figure out how to use the image control. I want an icon on the window so I have set "Type" to icon and "Image" to the correct filename. What else do I have to do? I have looked at the IcoCtl example and it compiles fine, even though I can't see any difference between it and my program :confused:
By the way, is it easy to 'recycle' the icon and use it as my main icon too?
Hi Delight
To use the visual image control you must use the resource tool (Project / Resource).
You can use any icon included in your resource (See: WM_SETICON).
Added an example.
KetilO
To use the visual image control you must use the resource tool (Project / Resource).
You can use any icon included in your resource (See: WM_SETICON).
Added an example.
KetilO
Thank you very much KetilO! I didn't know about the resource tool. Now it works perfectly