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. Modifying MFC

Modifying MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
6 Posts 5 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
    Anonymous
    wrote on last edited by
    #1

    Does Microsoft ever advocate changing MFC source code ? If Yes in what case ?

    A M N J 4 Replies Last reply
    0
    • A Anonymous

      Does Microsoft ever advocate changing MFC source code ? If Yes in what case ?

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      What? i don't understand your question... cya !

      1 Reply Last reply
      0
      • A Anonymous

        Does Microsoft ever advocate changing MFC source code ? If Yes in what case ?

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        I would not change MFC's source code, anyway, we don't really have to it, only some part of it for debugging purpose. but again, what is the question ?


        Maximilien Lincourt Your Head A Splode - Strong Bad

        J 1 Reply Last reply
        0
        • M Maximilien

          I would not change MFC's source code, anyway, we don't really have to it, only some part of it for debugging purpose. but again, what is the question ?


          Maximilien Lincourt Your Head A Splode - Strong Bad

          J Offline
          J Offline
          Jaime Olivares
          wrote on last edited by
          #4

          I think it is not a good idea to change MFC library, because it makes your code extremely unportable and maybe unstable. I think there are several other alternatives like: 1) Derive an object and override some functions 2) Build a new object similar to an MFC object (it is alowed to "learn" by reading MFC source code) 3) Hook some GUI object 4) Etcetera... Best regards, Jaime.

          1 Reply Last reply
          0
          • A Anonymous

            Does Microsoft ever advocate changing MFC source code ? If Yes in what case ?

            N Offline
            N Offline
            narendra_ b
            wrote on last edited by
            #5

            MFC is well tested code, and to the most extent reliable( ignore some of the bugs, because everyone ll do some mistakes). obviously MS encourages you to add extra functionality to the MFC classes by deriving the classes and overriding the classes. It provides the only basic framework. With the standard classes that it provides, its almost impossile to create the look and feel application in the crazy GUI world VC++ programmer

            1 Reply Last reply
            0
            • A Anonymous

              Does Microsoft ever advocate changing MFC source code ? If Yes in what case ?

              J Offline
              J Offline
              jc0dex
              wrote on last edited by
              #6

              Check the headers they say to never edit MFC code.

              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