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. why get active frame?

why get active frame?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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.
  • P Offline
    P Offline
    panthal
    wrote on last edited by
    #1

    hi all, what is the function of CMainFrame::GetActiveFrame() function thanks panthal

    T 1 Reply Last reply
    0
    • P panthal

      hi all, what is the function of CMainFrame::GetActiveFrame() function thanks panthal

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      what is CMainFrame inheriting from ? are you refering to CFrameWnd::GetActiveFrame()[^] ?


      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      P 1 Reply Last reply
      0
      • T toxcct

        what is CMainFrame inheriting from ? are you refering to CFrameWnd::GetActiveFrame()[^] ?


        [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

        P Offline
        P Offline
        panthal
        wrote on last edited by
        #3

        hi, yes, what is the function of CFrameWnd::GetActiveView i got some code from your link, but what does it means, what is the use of this function thanks panthal

        T 1 Reply Last reply
        0
        • P panthal

          hi, yes, what is the function of CFrameWnd::GetActiveView i got some code from your link, but what does it means, what is the use of this function thanks panthal

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          panthal wrote:

          what is the use of this function

          can't you just read the doc ???????? "Call this member function to obtain a pointer to the active multiple document interface (MDI) child window of an MDI frame window.". So, you use this function only in a context of a Multiple Document application. then, you call GetActiveView() to get the active View. you get it now ? :doh:


          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          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