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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Live Messenger style window, having problems with border update and child controls flickering

Live Messenger style window, having problems with border update and child controls flickering

Scheduled Pinned Locked Moved C / C++ / MFC
helpcomgraphicsquestionannouncement
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.
  • N Offline
    N Offline
    Nathan Going
    wrote on last edited by
    #1

    I've modified CDialog to draw a window in a Windows Live Messenger style, using SerWindowRgn and with a custom drawn client area. One of the problems I’m having is when you size the window smaller, you see a gray border which shouldn’t be there. Please see My Code[^]. Am I handling the custom drawing correctly? Another problem is with controls flickering when I resize. I understand that this is caused by invalidating the entire window, but that's the only way I can cause the whole background to update. I will be adding in dynamic positioning and ownerdrawn controls. Any help would be greatly appreciated, Thank you.

    modified on Monday, August 25, 2008 12:10 PM

    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