win32 island in wpf application has #f0f0f0 background colour
hii!! i'm working on a project which requires an embedded win32 control. however, the background of the island is always #f0f0f0 instead of #ffffff. this occurs even if the window is hosting no control and is just a child window. see the attached image for an example
2 Replies
(the only parts in ControlHost which matter in this instance are
BuildWindowCore
and WndProc
, which i'll provide below)
but did you set the background brush? (iirc)