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
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.
  • H Offline
    H Offline
    hurr1can3
    wrote on last edited by
    #1

    Hi all. Happy chinese new year. Do anyone know how to display simple text in a MDI application? Thank you.

    A 1 Reply Last reply
    0
    • H hurr1can3

      Hi all. Happy chinese new year. Do anyone know how to display simple text in a MDI application? Thank you.

      A Offline
      A Offline
      Antti Keskinen
      wrote on last edited by
      #2

      In an MDI application, you first create the frame window. Then, you create child frames on request, and fill these frames with view windows. Each child frame owns one and only one view, unless there's a tab control inside the frame. If you need to display text in a view, override the view's ON_WM_PAINT handler and use the TextOut function of the CDC class. This will draw text on your view. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

      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