Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. .manifest problem

.manifest problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpgraphicsquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PatrykDabrowski
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups