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?
Posted on 2002-09-11 04:07:37 by Delight
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
Posted on 2002-09-11 04:38:14 by KetilO
Thank you very much KetilO! I didn't know about the resource tool. Now it works perfectly
Posted on 2002-09-11 04:43:31 by Delight