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. Redrawing window -help reqd

Redrawing window -help reqd

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

    hi , i have a dialog bases application in which repainting the application is very much necessary .... does anybody has any idea about the following and how to implement them: 1)SetRedraw 2)ReDrawWindow 3)Setting the parameters CS_VREDRAW and CS_HREDRAW in the WNDCLASS , so the window takes care about the repainting in the subsequent WM_PAINT message. Please help me in this regard .... iam kinda lost :confused: Thanking you Satadru

    S 1 Reply Last reply
    0
    • S satadru

      hi , i have a dialog bases application in which repainting the application is very much necessary .... does anybody has any idea about the following and how to implement them: 1)SetRedraw 2)ReDrawWindow 3)Setting the parameters CS_VREDRAW and CS_HREDRAW in the WNDCLASS , so the window takes care about the repainting in the subsequent WM_PAINT message. Please help me in this regard .... iam kinda lost :confused: Thanking you Satadru

      S Offline
      S Offline
      Steen Krogsgaard
      wrote on last edited by
      #2

      Invalidate(TRUE) or RedrawWindow(). See MSDN for details. Cheers Steen. "To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"

      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