jpshortsuff
August 29th, 2008, 04:06 PM
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:
IDI_ICON ICON "myicon.ico"
I know this works, because I am using this Icon in my title-bar etc using WM_SETICON.
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:
ICON "IDI_ICON" IDB_ICON, 8, 8, 48, 48
What would be the best way to go about this?
Thanks in advance for any help.
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:
IDI_ICON ICON "myicon.ico"
I know this works, because I am using this Icon in my title-bar etc using WM_SETICON.
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:
ICON "IDI_ICON" IDB_ICON, 8, 8, 48, 48
What would be the best way to go about this?
Thanks in advance for any help.