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. Displaying text in MDI

Displaying text in MDI

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

    Hi. I am currently using MDI mfc programming for my application and I have used pDC->TextOut(.) to display certain text in one of the child window. However, when the other window is on top of the one with the text, when it is move away, the text disappear. How can I resolve this? Thank you for any advise.

    B 1 Reply Last reply
    0
    • H hurr1can3

      Hi. I am currently using MDI mfc programming for my application and I have used pDC->TextOut(.) to display certain text in one of the child window. However, when the other window is on top of the one with the text, when it is move away, the text disappear. How can I resolve this? Thank you for any advise.

      B Offline
      B Offline
      bneacetp
      wrote on last edited by
      #2

      Make sure that you are doing your drawing in the view's OnDraw(...) function. If I remember correctly, that should solve your problem. :-D Happy Programming! WWW::CodeProject::BNEACETP

      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