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. How to force invalidation of NonClient Area

How to force invalidation of NonClient Area

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
2 Posts 2 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.
  • G Offline
    G Offline
    Gary Ranson
    wrote on last edited by
    #1

    Hi, I'm sure there is a easy method for this, but I cannot see for looking ! Q. Is there any method to force the Nonclient area of a window to be redrawn/recalculated ? The only methods I can see, affect the client area of a windows. At the moment I am increasing the size of the windows then reseting it back to the original size. My other solution was to recreate the window. Both of thse solutions work, but they are obviously work-arounds, and I would like a more "professional" solution. Thanks, Gary Ranson.

    L 1 Reply Last reply
    0
    • G Gary Ranson

      Hi, I'm sure there is a easy method for this, but I cannot see for looking ! Q. Is there any method to force the Nonclient area of a window to be redrawn/recalculated ? The only methods I can see, affect the client area of a windows. At the moment I am increasing the size of the windows then reseting it back to the original size. My other solution was to recreate the window. Both of thse solutions work, but they are obviously work-arounds, and I would like a more "professional" solution. Thanks, Gary Ranson.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Call RedrawWindow with RDW_FRAME.

      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