I am able to add an icon to a CStatic control, but it always either resizes the control and puts it at it's top left corner (using SS_ICON flag) or doesn't show up at all (using SS_CENTERIMAGE flag). I want to put a small icon in the top left (or right) corner of a CStatic control. Anybody know how I can do this? Also, anybody know which create flags I CANNOT use if I want to put an icon in it. I currently create controls with the following flags:
WS_VISIBLE | WS_CHILD | SS_LEFT | SS_LEFTNOWORDWRAP | WS_TABSTOP | WS_BORDER
which ones do I have to remove to get the icon to appear?