tags:

views:

85

answers:

1

anyone knows how we can set an image or color for the background in a static box in vc++

+1  A: 

Derive your own class from CStatic, and override OnCtlColour

Here you got the docs + a sample. http://msdn.microsoft.com/de-de/library/0wwk06hc.aspx

I am not sure if this works for images also, but you know where to look.

StefanB