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. how to do it ?

how to do it ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
3 Posts 3 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.
  • A Offline
    A Offline
    Angel Kid
    wrote on last edited by
    #1

    Hi, I just want to know that if I could get a view's DC from the Doc class? how to do it? anyone konws? thank you. YES, I am here.

    T E 2 Replies Last reply
    0
    • A Angel Kid

      Hi, I just want to know that if I could get a view's DC from the Doc class? how to do it? anyone konws? thank you. YES, I am here.

      T Offline
      T Offline
      Tom Archer
      wrote on last edited by
      #2

      I assume that you must have access to the views from the document. If so, simply instantiate a CClientDC passing it the desired view pointer. Cheers, Tom Archer Author - Inside C#, Visual C++.NET Bible A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the af

      1 Reply Last reply
      0
      • A Angel Kid

        Hi, I just want to know that if I could get a view's DC from the Doc class? how to do it? anyone konws? thank you. YES, I am here.

        E Offline
        E Offline
        Eugene Pustovoyt
        wrote on last edited by
        #3

        Look the article Q108587 - "HOWTO: Get Current CDocument or CView from Anywhere" in MSDN Best regards,:-D Eugene Pustovoyt

        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