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. CMFCOutlookBarTabCtrl redrawing issues

CMFCOutlookBarTabCtrl redrawing issues

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelpquestion
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.
  • R Offline
    R Offline
    roel_
    wrote on last edited by
    #1

    So I'm using the CMFCOutlookBarTabCtrl control from the VC Feature pack. In it, I'm putting a couple of custom controls. Problem is that the controls aren't being redraw properly: after resizing the CMFCOutlookBarTabCtrl, they are white. I have trace messages in my OnPaint I know that that function is called. I watch the messages with Spy++, all goes well. When I put another control in the CMFCOutlookBarTabCtrl it works fine (standard windows control like a button but also for other custom controls). When I show the custom control outside of the CMFCOutlookBarTabCtrl it works fine, too. So it looks like my control is being drawn over after its WM_PAINT handler has been called. Oh, when I put in a WM_MOUSEMOVE handler and do an Invalidate() in there, it works too. Anyone who is still with me after this description and who has an idea on how I could go about debugging this? Thanks.

    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