.manifest problem
-
Hi:) I have a toolbar with its own background (bitmap) on a ReBar object. This ReBas has olso its own background (the same bitmap). And again, the ReBar is on a dialog window with the same background. All three objects use the same background (CBitmap object) and use ON_WM_ERASEBKGND message to paint itself. The problem is, when I place the manifest file next to the application exe, the toolbar loses its background?!?! The ReBar and dialog window remain untouched, only the toolbar becomes plain (no texture on it). What's more, this 'bug' doesn't depend on Windows themes. When I turn the XP themes on/off the toolbar remains plain...Removing manifest file helps in both cases... but I can't use XP-style controls. Do You have any idea what can be wrong??? If that could help, for toolbar I use: m_Toolbar.CreateEx(this,WS_CHILD|TBSTYLE_FLAT|WS_VISIBLE|CBRS_TOP|CBRS_SIZE_FIXED|TBSTYLE_CUSTOMERASE); and for ReBar: m_ReBar.Create(this); m_ReBar.AddBar(&m_Toolbar,NULL,NULL,RBBS_USECHEVRON|RBBS_GRIPPERALWAYS)); .... rbbi.fMask = RBBIM_CHILDSIZE | RBBIM_IDEALSIZE | RBBIM_SIZE | RBBIM_ID; //Bar info flags Thanks in advance!