Hi there.
I have tried a number of things, none of which worked. What I am trying to achieve is to simply show an Icon in a Dialog.
I have obtained my Icon from file:
I know this works, because I am using this Icon in my title-bar etc using WM_SETICON.Code:IDI_ICON ICON "myicon.ico"
I can't seem to get this to show in the main part of my Dialog. I've tried creating a static control (SS_ICON) and using STM_ICON. I've tried using an Icon in my resource file:
What would be the best way to go about this?Code:ICON "IDI_ICON" IDB_ICON, 8, 8, 48, 48
Thanks in advance for any help.


Reply With Quote