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. ATL / WTL / STL
  4. Window not being Painted

Window not being Painted

Scheduled Pinned Locked Moved ATL / WTL / STL
c++question
3 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.
  • T Offline
    T Offline
    TFrancis
    wrote on last edited by
    #1

    I have a WTL based application. In response to a particular user action, it is to create and show a new CFrameWindowImpl<> based window that includes a splitter and two client windows. This all works fine on my development computer. It does not work when I distribute to the computer that this application is suppose to be run on. On the other computer, the two client windows are not being painted. Both computers are running Win2000 Service Pack 3. Any clues?

    M 1 Reply Last reply
    0
    • T TFrancis

      I have a WTL based application. In response to a particular user action, it is to create and show a new CFrameWindowImpl<> based window that includes a splitter and two client windows. This all works fine on my development computer. It does not work when I distribute to the computer that this application is suppose to be run on. On the other computer, the two client windows are not being painted. Both computers are running Win2000 Service Pack 3. Any clues?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      What kind of windows are going into the splitter? It sounds like those windows are failing to be created. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

      T 1 Reply Last reply
      0
      • M Michael Dunn

        What kind of windows are going into the splitter? It sounds like those windows are failing to be created. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

        T Offline
        T Offline
        TFrancis
        wrote on last edited by
        #3

        Sorry, I found the answer shortly after posting the message and forgot to update my message here. I wasn't calling PreTranslateMessage() for the two windows. Once I did this it started working perfectly.

        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