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. Mobile Development
  3. Mobile
  4. How to get View object from App class in MFC

How to get View object from App class in MFC

Scheduled Pinned Locked Moved Mobile
c++tutorial
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.
  • B Offline
    B Offline
    Bui Huy Kien
    wrote on last edited by
    #1

    Dear all, I writting an application using MFC in eVC 3.0. Now I need to access to the View object from the App class. Could you please tell me how. Thank you very much in advance. -Kien Bui

    J 1 Reply Last reply
    0
    • B Bui Huy Kien

      Dear all, I writting an application using MFC in eVC 3.0. Now I need to access to the View object from the App class. Could you please tell me how. Thank you very much in advance. -Kien Bui

      J Offline
      J Offline
      Joao Paulo Figueira
      wrote on last edited by
      #2

      The application object has a m_pMainWnd variable. This is a frame window that will contain the view. To retrieve it, search its children. Regards, João Paulo Figueira Embedded MVP

      B 1 Reply Last reply
      0
      • J Joao Paulo Figueira

        The application object has a m_pMainWnd variable. This is a frame window that will contain the view. To retrieve it, search its children. Regards, João Paulo Figueira Embedded MVP

        B Offline
        B Offline
        Bui Huy Kien
        wrote on last edited by
        #3

        Thank you very much! -Kien Bui

        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