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. MFC Doc/View

MFC Doc/View

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structureshelp
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.
  • E Offline
    E Offline
    E Dyot
    wrote on last edited by
    #1

    Thanks Jack Squirrel! My problem now is to transfer an array of double from the 'Doc to the 'View. I can make the transfer via a CArray of CString 's, which would be ok but messy. When I say 'transfer' I mean read the contents of doubles filled and working nicely in 'Doc into 'View. Clicking them all across with the mouse is not on the agenda. Thanks. Zeitweise wissen wir nicht was wir wissen.

    D 1 Reply Last reply
    0
    • E E Dyot

      Thanks Jack Squirrel! My problem now is to transfer an array of double from the 'Doc to the 'View. I can make the transfer via a CArray of CString 's, which would be ok but messy. When I say 'transfer' I mean read the contents of doubles filled and working nicely in 'Doc into 'View. Clicking them all across with the mouse is not on the agenda. Thanks. Zeitweise wissen wir nicht was wir wissen.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      E Dyot wrote: My problem now is to transfer an array of double from the 'Doc to the 'View. So you have something like:

      class CMyDocument : public CDocument
      {
      public:
      double m_arrNumbers[5]; // an array of doubles
      };


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      U 1 Reply Last reply
      0
      • D David Crow

        E Dyot wrote: My problem now is to transfer an array of double from the 'Doc to the 'View. So you have something like:

        class CMyDocument : public CDocument
        {
        public:
        double m_arrNumbers[5]; // an array of doubles
        };


        "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

        U Offline
        U Offline
        User 1426359
        wrote on last edited by
        #3

        = ....; }

        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