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. Redraw a pane splitter window

Redraw a pane splitter window

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

    I create a SDI appication and split the main frame to rows and columns using CreatStatic()and CreateView() for each of the splitter frame. It works fine. In One of the pane frame, I display the graphic rectangle and text using FillSolidRect(), and DrawText(), and these rectangles and text need to redraw every time to update system status. To do that, I call InvalidateRect(NULL,FALSE) in OnDraw() to redraw this window frame. It is working fine also. But some how by calling InvalidateRect(NULL,FALSE) all of my modal dialogs in my application doesn't work any longer causing my application to hang ( no response from any buttons in toolsbar). If I commented InvalidateRect(NULL,FALSE) all of my modal dialogs work but then the graphic rectangles and text no longer redraw and update. Help!!!!

    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